Color

CSS orchid

CSS orchid (#da70d6) is a light vivid purple color. In OKLCH it has a lightness of 70%, a chroma of 0.181, and a hue of 328.7°.

#da70d6CSS orchid
HEX
#da70d6
RGB
rgb(218 112 214)
HSL
hsl(302.3 58.9% 64.7%)
OKLCH
oklch(0.702 0.181 328.7)
Build a system from this color

Quick answer

  • Text on it: black, 7.26:1 (passes AA).
  • As text on white: fails, 2.88:1. The closest version that passes is #b54db1.
  • Dark mode: keep it for text and links (6.85:1 on the dark page).
  • Closest Tailwind color: fuchsia-400 (#ed6aff), the nearest, but visibly different.

About this color

Measured from the color itself, not written by hand.

CSS orchid (#da70d6) is a light vivid purple color. In OKLCH it has a lightness of 70%, a chroma of 0.181, and a hue of 328.7°.

White text on it has a contrast ratio of 2.88:1 and black text 7.26:1, so black text is the readable choice. As text, it reaches 2.88:1 on white and 7.26:1 on black.

CSS named color · orchid

Text on this color

Which text colors pass on it, and at what sizes.

Good for, and what to avoid

Each use checked against WCAG 2.2, on white and on the dark page (#0c090c).

UseResultContrast
Button with white textAvoid2.88:1, needs 4.5:1
Button with black textGood7.26:1, needs 4.5:1
Text or links on whiteAvoid2.88:1, needs 4.5:1
Text or links on the dark pageGood6.85:1, needs 4.5:1
Border, icon, or focus ring on whiteAvoid2.88:1, needs 3:1
Border, icon, or focus ring on the dark pageGood6.85:1, needs 3:1

As a text color

The closest version of this color that passes AA for normal text.

In dark mode

From the dark theme ColorLint builds around this color, on a page of #0c090c.

  • Buttons: CSS orchid stays as it is for buttons, with dark (#0c090c) label text at 6.85:1. Hover is #eb80e7 and pressed is #fc90f8.
  • Text and links: it works as it is: 6.85:1 on the page.
  • Focus ring: #da70d6, 6.85:1 against the page (3:1 needed).

Shades from 50 to 950

An OKLCH scale built around this color by the same engine as the Scale Generator.

Harmonies

Hue offsets in OKLCH, keeping lightness and in-gamut chroma.

Color-blind simulation

How this color may look with four types of color vision deficiency.

  • Protanopia

    no red cones

    #688fd9Simulation
  • Deuteranopia

    no green cones

    #879dd3Simulation
  • Tritanopia

    no blue cones

    #e07a99Simulation
  • Achromatopsia

    no color vision

    #989898Simulation

Similar named colors

The nearest colors from the Tailwind, Material, and CSS lists.

Matching colors in other lists

  • Material Design (2014): the nearest to #da70d6 is purple-300 (#ba68c8), and it is visibly different, so this list has no close match.

Contrast pages for this color

Prepared contrast checks that use this color.

ColorLint checks color contrast only. Passing pairs do not mean a page is accessible. 4 text pairs checked; 0 could not be judged.

How we check colors