#CB9DEF
Closest named color: Baby Purple (#CA9BF7). oklch(76.8% 0.124 309.4), rgb(203, 157, 239).
Aa
Black text reads best on this color (9.60:1).
About this color
#CB9DEF is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.124 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.014 away. Black text reads best on it, at 9.60:1.
| Hue family | Purples |
| Lightness | medium-light (77%) |
| Chroma | moderately saturated (0.124) |
| Temperature | in between |
| Nearest name | Baby Purple (#CA9BF7) |
| Black text | 9.60:1 |
| White text | 2.18:1 |
Values
| HEX | #CB9DEF |
| RGB | rgb(203, 157, 239) |
| HSL | hsl(274, 72%, 78%) |
| OKLCH | oklch(76.8% 0.124 309.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 #CB9DEF | 2.18:1 | Fails | Lc -47.6 | Large or bold text, headings |
| Black text on #CB9DEF | 9.60:1 | AAA | Lc 61.1 | Content text, not long reading |
| #CB9DEF text on white | 2.18:1 | Fails | Lc 42.9 | Non-text elements, placeholder text |
| #CB9DEF text on black | 9.60:1 | AAA | Lc -59.3 | 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
#F9F3FE
oklch(97.2% 0.016 310.1)
-
Step 100
100
#F1E4FC
oklch(93.6% 0.035 309.8)
-
Step 200
200
#E7CDFC
oklch(88.5% 0.069 309.8)
-
Step 300
300 (this color)
#CB9DEF
oklch(76.8% 0.124 309.4)
-
Step 400
400
#C577FC
oklch(70.7% 0.198 309.3)
-
Step 500
500
#B648F9
oklch(63% 0.253 309.3)
-
Step 600
600
#A311E8
oklch(55.7% 0.275 309.5)
-
Step 700
700
#8A00C7
oklch(49.1% 0.249 309.3)
-
Step 800
800
#7108A3
oklch(42.7% 0.212 309.4)
-
Step 900
900
#5B1881
oklch(37.6% 0.165 309.4)
-
Step 950
950
#35114C
oklch(26.9% 0.105 308.9)
#CB9DEF 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) | #8EADF2 | 0.089 |
| Deuteranopia (no green cones) | #98B0ED | 0.083 |
| Tritanopia (no blue cones) | #C7A9BB | 0.091 |
| Achromatopsia (no color) | #AFAFAF | 0.125 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CB9DEF
#CB9DEF
oklch(76.8% 0.124 309.4)
- #9AC36C
#9AC36C
oklch(76.8% 0.123 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 #CB9DEF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Baby Purple #CA9BF7 ΔE 0.014
- Lilac #CEA2FD ΔE 0.022
- Pastel Purple #CAA0FF ΔE 0.023
- Plum #DDA0DD ΔE 0.041
- Pale Violet #CEAEFA ΔE 0.042
- Liliac #C48EFD ΔE 0.048
- Pale Purple #B790D4 ΔE 0.057
- Light Violet #D6B4FC ΔE 0.060
Use #CB9DEF 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.