#CEA7FB
Closest named color: Lilac (#CEA2FD). oklch(79.3% 0.123 305.1), rgb(206, 167, 251).
Aa
Black text reads best on this color (10.54:1).
About this color
#CEA7FB is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.123 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.013 away. Black text reads best on it, at 10.54:1.
| Hue family | Purples |
| Lightness | light (79%) |
| Chroma | moderately saturated (0.123) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.54:1 |
| White text | 1.99:1 |
Values
| HEX | #CEA7FB |
| RGB | rgb(206, 167, 251) |
| HSL | hsl(268, 91%, 82%) |
| OKLCH | oklch(79.3% 0.123 305.1) |
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 #CEA7FB | 1.99:1 | Fails | Lc -42.9 | Non-text elements, placeholder text |
| Black text on #CEA7FB | 10.54:1 | AAA | Lc 65.5 | Content text, not long reading |
| #CEA7FB text on white | 1.99:1 | Fails | Lc 38.4 | Non-text elements, placeholder text |
| #CEA7FB text on black | 10.54:1 | AAA | Lc -63.9 | 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
#F8F3FF
oklch(97.1% 0.017 304.8)
-
Step 100
100
#EFE4FE
oklch(93.5% 0.037 304.8)
-
Step 200
200
#E3CEFE
oklch(88.4% 0.069 304.9)
-
Step 300
300 (this color)
#CEA7FB
oklch(79.3% 0.123 305.1)
-
Step 400
400
#BD7BFF
oklch(70.6% 0.193 305.1)
-
Step 500
500
#AE4EFF
oklch(63.1% 0.25 305)
-
Step 600
600
#9B1DEE
oklch(55.6% 0.273 305.3)
-
Step 700
700
#8402D0
oklch(49.1% 0.254 304.9)
-
Step 800
800
#6B11A8
oklch(42.7% 0.21 304.9)
-
Step 900
900
#571C85
oklch(37.8% 0.164 305.1)
-
Step 950
950
#33134E
oklch(27.1% 0.104 305.3)
#CEA7FB 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) | #96B6FE | 0.081 |
| Deuteranopia (no green cones) | #9DB8F9 | 0.076 |
| Tritanopia (no blue cones) | #C7B4C6 | 0.094 |
| Achromatopsia (no color) | #B8B8B8 | 0.123 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CEA7FB
#CEA7FB
oklch(79.3% 0.123 305.1)
- #A9C96F
#A9C96F
oklch(79.2% 0.122 125.1)
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 #CEA7FB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.013
- Pale Violet #CEAEFA ΔE 0.018
- Pastel Purple #CAA0FF ΔE 0.021
- Baby Purple #CA9BF7 ΔE 0.030
- Light Violet #D6B4FC ΔE 0.036
- Plum #DDA0DD ΔE 0.047
- Liliac #C48EFD ΔE 0.065
- Light Periwinkle #C1C6FC ΔE 0.079
Use #CEA7FB 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.