#CFA8FF
Closest named color: Lilac (#CEA2FD). oklch(79.8% 0.127 304.3), rgb(207, 168, 255).
Aa
Black text reads best on this color (10.69:1).
About this color
#CFA8FF is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.127 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.015 away. Black text reads best on it, at 10.69:1.
| Hue family | Purples |
| Lightness | light (80%) |
| Chroma | moderately saturated (0.127) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.69:1 |
| White text | 1.96:1 |
Values
| HEX | #CFA8FF |
| RGB | rgb(207, 168, 255) |
| HSL | hsl(267, 100%, 83%) |
| OKLCH | oklch(79.8% 0.127 304.3) |
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 #CFA8FF | 1.96:1 | Fails | Lc -42.1 | Non-text elements, placeholder text |
| Black text on #CFA8FF | 10.69:1 | AAA | Lc 66.2 | Content text, not long reading |
| #CFA8FF text on white | 1.96:1 | Fails | Lc 37.7 | Non-text elements, placeholder text |
| #CFA8FF text on black | 10.69:1 | AAA | Lc -64.7 | 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
#E3CEFF
oklch(88.4% 0.07 304.5)
-
Step 300
300 (this color)
#CFA8FF
oklch(79.8% 0.127 304.3)
-
Step 400
400
#BB7CFF
oklch(70.6% 0.191 304.1)
-
Step 500
500
#AC50FF
oklch(63.1% 0.248 304.2)
-
Step 600
600
#9A14F3
oklch(55.5% 0.281 304.2)
-
Step 700
700
#8300D2
oklch(49.1% 0.256 304.1)
-
Step 800
800
#6B0AAB
oklch(42.7% 0.216 304.3)
-
Step 900
900
#571A88
oklch(37.8% 0.169 304.3)
-
Step 950
950
#33124F
oklch(27% 0.107 304.9)
#CFA8FF 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) | #95B8FF | 0.084 |
| Deuteranopia (no green cones) | #9DB9FD | 0.077 |
| Tritanopia (no blue cones) | #C8B5C8 | 0.096 |
| Achromatopsia (no color) | #B9B9B9 | 0.127 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CFA8FF
#CFA8FF
oklch(79.8% 0.127 304.3)
- #ACCB6C
#ACCB6C
oklch(79.8% 0.127 124.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 #CFA8FF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.015
- Pale Violet #CEAEFA ΔE 0.018
- Pastel Purple #CAA0FF ΔE 0.022
- Baby Purple #CA9BF7 ΔE 0.033
- Light Violet #D6B4FC ΔE 0.034
- Plum #DDA0DD ΔE 0.051
- Liliac #C48EFD ΔE 0.067
- Light Periwinkle #C1C6FC ΔE 0.078
Use #CFA8FF 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.