#CFA7FC
Closest named color: Lilac (#CEA2FD). oklch(79.5% 0.124 305.3), rgb(207, 167, 252).
Aa
Black text reads best on this color (10.58:1).
About this color
#CFA7FC is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.124 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.58:1.
| Hue family | Purples |
| Lightness | light (79%) |
| Chroma | moderately saturated (0.124) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.58:1 |
| White text | 1.98:1 |
Values
| HEX | #CFA7FC |
| RGB | rgb(207, 167, 252) |
| HSL | hsl(268, 93%, 82%) |
| OKLCH | oklch(79.5% 0.124 305.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 #CFA7FC | 1.98:1 | Fails | Lc -42.7 | Non-text elements, placeholder text |
| Black text on #CFA7FC | 10.58:1 | AAA | Lc 65.7 | Content text, not long reading |
| #CFA7FC text on white | 1.98:1 | Fails | Lc 38.3 | Non-text elements, placeholder text |
| #CFA7FC text on black | 10.58:1 | AAA | Lc -64.1 | 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
#E4CEFE
oklch(88.5% 0.069 305.8)
-
Step 300
300 (this color)
#CFA7FC
oklch(79.5% 0.124 305.3)
-
Step 400
400
#BE7BFF
oklch(70.7% 0.193 305.4)
-
Step 500
500
#AF4DFF
oklch(63.1% 0.252 305.4)
-
Step 600
600
#9C19F0
oklch(55.7% 0.277 305.4)
-
Step 700
700
#8500CF
oklch(49.1% 0.254 305.5)
-
Step 800
800
#6C0DA8
oklch(42.7% 0.213 305.5)
-
Step 900
900
#571A85
oklch(37.6% 0.166 305.4)
-
Step 950
950
#33124E
oklch(26.9% 0.106 305.5)
#CFA7FC 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) | #95B7FF | 0.084 |
| Deuteranopia (no green cones) | #9EB8FA | 0.077 |
| Tritanopia (no blue cones) | #C8B4C6 | 0.095 |
| Achromatopsia (no color) | #B8B8B8 | 0.125 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CFA7FC
#CFA7FC
oklch(79.5% 0.124 305.3)
- #A9CA6E
#A9CA6E
oklch(79.4% 0.125 125.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 #CFA7FC, 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.035
- Plum #DDA0DD ΔE 0.047
- Liliac #C48EFD ΔE 0.065
- Light Periwinkle #C1C6FC ΔE 0.079
Use #CFA7FC 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.