Inspect Orchid (#DA70D6) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.
Orchid
#DA70D6
Black text reads best on this background, at 7.27:1.
Orchid is one of the 148 CSS named colors, and resolves to #DA70D6 in every browser. In numbers that is rgb(218, 112, 214) and hsl(302, 59%, 65%). Perceptually it is a light, vivid color: OKLCH puts its lightness at 70% and its chroma at 0.181. It sits in the pinks at 329 degrees of OKLCH hue, and reads as a cool color.
White text only reaches 2.89:1 here, so black text is the safer pairing at 7.27:1. At this chroma it is loud enough to be an accent or a call to action, but it will fight anything else vivid placed next to it.
The closest CSS named colors to Orchid, measured with CIEDE2000, are Violet (#EE82EE), MediumOrchid (#BA55D3), Fuchsia (#FF00FF). If Orchid is not quite right, those are the nearest keywords to try before reaching for a custom value.
HEX
#DA70D6
RGB
rgb(218, 112, 214)
HSL
hsl(302, 59%, 65%)
HWB
hwb(302 44% 15%)
CMYK
cmyk(0%, 49%, 2%, 15%)
LAB
lab(62.75 52.45 -34.1)
LCH
lch(62.75 62.57 326.97)
OKLCH
oklch(70.21% 0.1813 328.71)
WCAG asks for 4.5:1 between body text and its background. On #DA70D6 white text measures 2.89:1 and black text 7.27:1, so black clears it and white does not.
White text on Orchid
WCAG 2.2
2.89:1
APCA
Lc 60
Fails AA body text
Fails AAA body text
Fails AA large text
Black text on Orchid
WCAG 2.2
7.27:1
APCA
Lc 49
Passes AA body text
Passes AAA body text
Passes AA large text
Check Orchid against any other color in the contrast checker.
Orchid sits at 70% OKLCH lightness. Holding its hue and chroma and moving only that value carries it up to #FFF5FE and down to #10000F, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.
#ED82E9
20% lighter
#FF95FA
40% lighter
#FFB8FA
60% lighter
#FFD7FC
80% lighter
#FFF5FE
100% lighter
#B34BB0
20% darker
#8D258B
40% darker
#640063
60% darker
#370037
80% darker
#10000F
100% darker
Build a full accessible scale from #DA70D6 in the shade generator.
Hues rotated around #DA70D6 in OKLCH, then pulled back into the sRGB gamut. Each swatch is labelled with the nearest CSS named color so you have a keyword to start from.
Orchid sits at 329 degrees. Rotating it a half turn lands on 149 degrees, the hue directly opposite. It is the strongest pairing you can make without changing lightness, and the one most likely to vibrate if you use both at full chroma.
The neighbors of Orchid at 299 and 359 degrees. They stay close enough to read as the same family, which is what you want for hover states, secondary surfaces and gradients.
329, 89 and 209 degrees divide the wheel into thirds. Balanced enough to carry a whole palette without one color dominating the other two.
Instead of the complement at 149 degrees, this pair flanks it at 119 and 179. You keep most of the contrast of a complementary pairing while losing the harshness.
Explore more combinations around Orchid on the color wheel.
The biggest shift is under achromatopsia, where #DA70D6 reads as #8E8E8E, 26.9 CIEDE2000 units away. If Orchid is the only thing marking a state or a series, roughly one viewer in twelve will miss it.
Protanopia
#6B86DB
Deuteranopia
#8093D2
Tritanopia
#E3778F
Achromatopsia
#8E8E8E
The nearest CSS keywords to #DA70D6, ranked by perceptual distance rather than by how close their hex digits happen to look.