#CD9FE2
Closest named color: Plum (#DDA0DD). oklch(76.8% 0.106 315), rgb(205, 159, 226).
Aa
Black text reads best on this color (9.65:1).
About this color
#CD9FE2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.106 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.027 away. Black text reads best on it, at 9.65:1.
| Hue family | Purples |
| Lightness | medium-light (77%) |
| Chroma | moderately saturated (0.106) |
| Temperature | in between |
| Nearest name | Plum (#DDA0DD) |
| Black text | 9.65:1 |
| White text | 2.17:1 |
Values
| HEX | #CD9FE2 |
| RGB | rgb(205, 159, 226) |
| HSL | hsl(281, 54%, 75%) |
| OKLCH | oklch(76.8% 0.106 315) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #CD9FE2 | 2.17:1 | Fails | Lc -47.4 | Large or bold text, headings |
| Black text on #CD9FE2 | 9.65:1 | AAA | Lc 61.2 | Content text, not long reading |
| #CD9FE2 text on white | 2.17:1 | Fails | Lc 42.7 | Non-text elements, placeholder text |
| #CD9FE2 text on black | 9.65:1 | AAA | Lc -59.5 | Large or bold text, headings |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 300.
-
Step 50
50
#F9F3FC
oklch(97.1% 0.013 314.8)
-
Step 100
100
#F2E4F8
oklch(93.6% 0.031 315.9)
-
Step 200
200
#E8CEF4
oklch(88.5% 0.058 315.2)
-
Step 300
300 (this color)
#CD9FE2
oklch(76.8% 0.106 315)
-
Step 400
400
#C77CE8
oklch(70.6% 0.169 314.8)
-
Step 500
500
#B954E1
oklch(63.1% 0.217 315)
-
Step 600
600
#A430CE
oklch(55.5% 0.234 315)
-
Step 700
700
#8D1FB3
oklch(49.2% 0.219 315)
-
Step 800
800
#721E91
oklch(42.7% 0.181 314.8)
-
Step 900
900
#5C2173
oklch(37.6% 0.14 314.9)
-
Step 950
950
#361544
oklch(27% 0.09 314.5)
#CD9FE2 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #95ADE5 | 0.083 |
| Deuteranopia (no green cones) | #A0B1E0 | 0.076 |
| Tritanopia (no blue cones) | #CCA7B7 | 0.072 |
| Achromatopsia (no color) | #B0B0B0 | 0.106 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CD9FE2
#CD9FE2
oklch(76.8% 0.106 315)
- #96C37E
#96C37E
oklch(76.8% 0.106 135.2)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #CD9FE2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Plum #DDA0DD ΔE 0.027
- Baby Purple #CA9BF7 ΔE 0.035
- Lilac #CEA2FD ΔE 0.038
- Pastel Purple #CAA0FF ΔE 0.042
- Pale Violet #CEAEFA ΔE 0.044
- Pale Purple #B790D4 ΔE 0.055
- Light Violet #D6B4FC ΔE 0.059
- Lavender Pink #DD85D7 ΔE 0.062
Use #CD9FE2 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.