#C4A7FA
Closest named color: Lilac (#CEA2FD). oklch(78.4% 0.119 299.7), rgb(196, 167, 250).
Aa
Black text reads best on this color (10.25:1).
About this color
#C4A7FA is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.119 and its hue 300°. 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.25:1.
| Hue family | Purples |
| Lightness | light (78%) |
| Chroma | moderately saturated (0.119) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.25:1 |
| White text | 2.04:1 |
Values
| HEX | #C4A7FA |
| RGB | rgb(196, 167, 250) |
| HSL | hsl(261, 89%, 82%) |
| OKLCH | oklch(78.4% 0.119 299.7) |
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 #C4A7FA | 2.04:1 | Fails | Lc -44.4 | Non-text elements, placeholder text |
| Black text on #C4A7FA | 10.25:1 | AAA | Lc 64.1 | Content text, not long reading |
| #C4A7FA text on white | 2.04:1 | Fails | Lc 39.8 | Non-text elements, placeholder text |
| #C4A7FA text on black | 10.25:1 | AAA | Lc -62.5 | 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
#F7F3FF
oklch(97.1% 0.016 301.2)
-
Step 100
100
#EDE5FE
oklch(93.6% 0.035 300.3)
-
Step 200
200
#DFD0FF
oklch(88.5% 0.066 299.6)
-
Step 300
300 (this color)
#C4A7FA
oklch(78.4% 0.119 299.7)
-
Step 400
400
#B382FF
oklch(70.7% 0.18 299.9)
-
Step 500
500
#A259FF
oklch(63.1% 0.235 299.8)
-
Step 600
600
#8F2DF3
oklch(55.6% 0.265 299.6)
-
Step 700
700
#7A1AD4
oklch(49.1% 0.247 299.5)
-
Step 800
800
#631CAB
oklch(42.7% 0.204 299.6)
-
Step 900
900
#502187
oklch(37.6% 0.159 299.6)
-
Step 950
950
#2F164F
oklch(27.1% 0.1 299.9)
#C4A7FA 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) | #94B5FD | 0.069 |
| Deuteranopia (no green cones) | #99B5F8 | 0.065 |
| Tritanopia (no blue cones) | #BAB4C5 | 0.095 |
| Achromatopsia (no color) | #B5B5B5 | 0.120 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C4A7FA
#C4A7FA
oklch(78.4% 0.119 299.7)
- #AFC469
#AFC469
oklch(78.4% 0.119 119.9)
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 #C4A7FA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.020
- Pastel Purple #CAA0FF ΔE 0.022
- Pale Violet #CEAEFA ΔE 0.024
- Baby Purple #CA9BF7 ΔE 0.029
- Light Violet #D6B4FC ΔE 0.044
- Plum #DDA0DD ΔE 0.054
- Liliac #C48EFD ΔE 0.062
- Pastel Blue #A2BFFE ΔE 0.071
Use #C4A7FA 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.