#D4AFFC
Closest named color: Pale Violet (#CEAEFA). oklch(81.3% 0.113 306), rgb(212, 175, 252).
Aa
Black text reads best on this color (11.33:1).
About this color
#D4AFFC is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.113 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.010 away. Black text reads best on it, at 11.33:1.
| Hue family | Purples |
| Lightness | light (81%) |
| Chroma | moderately saturated (0.113) |
| Temperature | in between |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 11.33:1 |
| White text | 1.85:1 |
Values
| HEX | #D4AFFC |
| RGB | rgb(212, 175, 252) |
| HSL | hsl(269, 93%, 84%) |
| OKLCH | oklch(81.3% 0.113 306) |
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 #D4AFFC | 1.85:1 | Fails | Lc -39.0 | Non-text elements, placeholder text |
| Black text on #D4AFFC | 11.33:1 | AAA | Lc 69.1 | Content text, not long reading |
| #D4AFFC text on white | 1.85:1 | Fails | Lc 34.8 | Non-text elements, placeholder text |
| #D4AFFC text on black | 11.33:1 | AAA | Lc -67.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
#F8F3FE
oklch(97.1% 0.015 306.4)
-
Step 100
100
#EFE5FC
oklch(93.7% 0.032 305.3)
-
Step 200
200
#E3CFFB
oklch(88.5% 0.063 305.7)
-
Step 300
300 (this color)
#D4AFFC
oklch(81.3% 0.113 306)
-
Step 400
400
#BD7EF8
oklch(70.7% 0.181 306.2)
-
Step 500
500
#AD55F5
oklch(63.1% 0.232 306)
-
Step 600
600
#992FE3
oklch(55.6% 0.251 306.2)
-
Step 700
700
#831EC5
oklch(49.2% 0.233 306.3)
-
Step 800
800
#6A1EA0
oklch(42.8% 0.193 305.9)
-
Step 900
900
#56217F
oklch(37.7% 0.151 306.1)
-
Step 950
950
#32154A
oklch(26.9% 0.096 306.1)
#D4AFFC 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) | #A0BDFF | 0.075 |
| Deuteranopia (no green cones) | #A7BFFA | 0.071 |
| Tritanopia (no blue cones) | #CEBACB | 0.085 |
| Achromatopsia (no color) | #BEBEBE | 0.113 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D4AFFC
#D4AFFC
oklch(81.3% 0.113 306)
- #B0CF7E
#B0CF7E
oklch(81.3% 0.112 125.8)
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 #D4AFFC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.010
- Light Violet #D6B4FC ΔE 0.013
- Lilac #CEA2FD ΔE 0.035
- Pastel Purple #CAA0FF ΔE 0.043
- Plum #DDA0DD ΔE 0.050
- Baby Purple #CA9BF7 ΔE 0.052
- Light Lavender #DFC5FE ΔE 0.059
- Light Lavendar #EFC0FE ΔE 0.061
Use #D4AFFC 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.