#CC9FEE
Closest named color: Baby Purple (#CA9BF7). oklch(77.2% 0.12 309.8), rgb(204, 159, 238).
Aa
Black text reads best on this color (9.76:1).
About this color
#CC9FEE is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.120 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.019 away. Black text reads best on it, at 9.76:1.
| Hue family | Purples |
| Lightness | medium-light (77%) |
| Chroma | moderately saturated (0.120) |
| Temperature | in between |
| Nearest name | Baby Purple (#CA9BF7) |
| Black text | 9.76:1 |
| White text | 2.15:1 |
Values
| HEX | #CC9FEE |
| RGB | rgb(204, 159, 238) |
| HSL | hsl(274, 70%, 78%) |
| OKLCH | oklch(77.2% 0.12 309.8) |
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 #CC9FEE | 2.15:1 | Fails | Lc -46.9 | Large or bold text, headings |
| Black text on #CC9FEE | 9.76:1 | AAA | Lc 61.8 | Content text, not long reading |
| #CC9FEE text on white | 2.15:1 | Fails | Lc 42.2 | Non-text elements, placeholder text |
| #CC9FEE text on black | 9.76:1 | AAA | Lc -60.0 | Content text, not long reading |
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
#F9F3FE
oklch(97.2% 0.016 310.1)
-
Step 100
100
#F1E4FC
oklch(93.6% 0.035 309.8)
-
Step 200
200
#E7CEFB
oklch(88.6% 0.066 310)
-
Step 300
300 (this color)
#CC9FEE
oklch(77.2% 0.12 309.8)
-
Step 400
400
#C579F8
oklch(70.8% 0.191 310)
-
Step 500
500
#B64CF5
oklch(63.1% 0.245 309.8)
-
Step 600
600
#A21DE3
oklch(55.6% 0.266 310)
-
Step 700
700
#8A03C5
oklch(49% 0.247 309.8)
-
Step 800
800
#7010A0
oklch(42.7% 0.205 309.6)
-
Step 900
900
#5B1B7F
oklch(37.7% 0.16 309.8)
-
Step 950
950
#35134A
oklch(27% 0.1 309.7)
#CC9FEE 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) | #91AFF1 | 0.087 |
| Deuteranopia (no green cones) | #9AB2EC | 0.082 |
| Tritanopia (no blue cones) | #C8AABC | 0.086 |
| Achromatopsia (no color) | #B1B1B1 | 0.120 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CC9FEE
#CC9FEE
oklch(77.2% 0.12 309.8)
- #9CC470
#9CC470
oklch(77.2% 0.12 129.6)
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 #CC9FEE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Baby Purple #CA9BF7 ΔE 0.019
- Lilac #CEA2FD ΔE 0.022
- Pastel Purple #CAA0FF ΔE 0.024
- Plum #DDA0DD ΔE 0.037
- Pale Violet #CEAEFA ΔE 0.037
- Liliac #C48EFD ΔE 0.054
- Light Violet #D6B4FC ΔE 0.055
- Pale Purple #B790D4 ΔE 0.060
Use #CC9FEE 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.