#CFA2EF
Closest named color: Lilac (#CEA2FD). oklch(78% 0.117 310.5), rgb(207, 162, 239).
Aa
Black text reads best on this color (10.06:1).
About this color
#CFA2EF is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.117 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.020 away. Black text reads best on it, at 10.06:1.
| Hue family | Purples |
| Lightness | light (78%) |
| Chroma | moderately saturated (0.117) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.06:1 |
| White text | 2.08:1 |
Values
| HEX | #CFA2EF |
| RGB | rgb(207, 162, 239) |
| HSL | hsl(275, 71%, 79%) |
| OKLCH | oklch(78% 0.117 310.5) |
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 #CFA2EF | 2.08:1 | Fails | Lc -45.3 | Large or bold text, headings |
| Black text on #CFA2EF | 10.06:1 | AAA | Lc 63.2 | Content text, not long reading |
| #CFA2EF text on white | 2.08:1 | Fails | Lc 40.7 | Non-text elements, placeholder text |
| #CFA2EF text on black | 10.06:1 | AAA | Lc -61.6 | 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
#F9F3FD
oklch(97.2% 0.015 312.2)
-
Step 100
100
#F1E4FB
oklch(93.6% 0.034 310.7)
-
Step 200
200
#E7CEFA
oklch(88.6% 0.065 310.5)
-
Step 300
300 (this color)
#CFA2EF
oklch(78% 0.117 310.5)
-
Step 400
400
#C57AF5
oklch(70.8% 0.186 310.6)
-
Step 500
500
#B64EF1
oklch(63.1% 0.239 310.6)
-
Step 600
600
#A222E0
oklch(55.6% 0.26 310.5)
-
Step 700
700
#8B0CC2
oklch(49.1% 0.242 310.7)
-
Step 800
800
#70149D
oklch(42.6% 0.2 310.3)
-
Step 900
900
#5B1D7D
oklch(37.8% 0.156 310.4)
-
Step 950
950
#351349
oklch(26.9% 0.099 310.3)
#CFA2EF 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) | #95B1F2 | 0.085 |
| Deuteranopia (no green cones) | #9EB4ED | 0.079 |
| Tritanopia (no blue cones) | #CCACBE | 0.083 |
| Achromatopsia (no color) | #B3B3B3 | 0.118 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CFA2EF
#CFA2EF
oklch(78% 0.117 310.5)
- #9EC776
#9EC776
oklch(78.1% 0.117 130.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 #CFA2EF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.020
- Baby Purple #CA9BF7 ΔE 0.025
- Pastel Purple #CAA0FF ΔE 0.026
- Pale Violet #CEAEFA ΔE 0.030
- Plum #DDA0DD ΔE 0.033
- Light Violet #D6B4FC ΔE 0.046
- Liliac #C48EFD ΔE 0.061
- Pale Purple #B790D4 ΔE 0.067
Use #CFA2EF 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.