#CF98EC
Closest named color: Baby Purple (#CA9BF7). oklch(76.2% 0.13 313.4), rgb(207, 152, 236).
Aa
Black text reads best on this color (9.35:1).
About this color
#CF98EC is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.130 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.017 away. Black text reads best on it, at 9.35:1.
| Hue family | Purples |
| Lightness | medium-light (76%) |
| Chroma | moderately saturated (0.130) |
| Temperature | in between |
| Nearest name | Baby Purple (#CA9BF7) |
| Black text | 9.35:1 |
| White text | 2.24:1 |
Values
| HEX | #CF98EC |
| RGB | rgb(207, 152, 236) |
| HSL | hsl(279, 69%, 76%) |
| OKLCH | oklch(76.2% 0.13 313.4) |
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 #CF98EC | 2.24:1 | Fails | Lc -48.9 | Large or bold text, headings |
| Black text on #CF98EC | 9.35:1 | AAA | Lc 59.8 | Large or bold text, headings |
| #CF98EC text on white | 2.24:1 | Fails | Lc 44.1 | Non-text elements, placeholder text |
| #CF98EC text on black | 9.35:1 | AAA | Lc -58.0 | 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
#FAF2FE
oklch(97.1% 0.018 314.7)
-
Step 100
100
#F3E3FC
oklch(93.6% 0.037 313.6)
-
Step 200
200
#EACCFC
oklch(88.5% 0.072 312.8)
-
Step 300
300 (this color)
#CF98EC
oklch(76.2% 0.13 313.4)
-
Step 400
400
#CE71FA
oklch(70.7% 0.208 313.7)
-
Step 500
500
#C03CF7
oklch(63% 0.267 313.5)
-
Step 600
600
#AA00E1
oklch(55.7% 0.276 313.5)
-
Step 700
700
#8F00BE
oklch(49.1% 0.244 313.5)
-
Step 800
800
#76009E
oklch(42.7% 0.212 313.3)
-
Step 900
900
#610F80
oklch(37.7% 0.174 313.7)
-
Step 950
950
#390E4B
oklch(27.1% 0.11 313.7)
#CF98EC 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) | #8AAAEF | 0.102 |
| Deuteranopia (no green cones) | #97AEE9 | 0.093 |
| Tritanopia (no blue cones) | #CDA3B7 | 0.090 |
| Achromatopsia (no color) | #ADADAD | 0.131 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CF98EC
#CF98EC
oklch(76.2% 0.13 313.4)
- #90C36B
#90C36B
oklch(76.1% 0.129 133.3)
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 #CF98EC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Baby Purple #CA9BF7 ΔE 0.017
- Lilac #CEA2FD ΔE 0.030
- Pastel Purple #CAA0FF ΔE 0.030
- Plum #DDA0DD ΔE 0.041
- Liliac #C48EFD ΔE 0.044
- Lavender Pink #DD85D7 ΔE 0.050
- Pale Violet #CEAEFA ΔE 0.053
- Pale Purple #B790D4 ΔE 0.054
Use #CF98EC 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.