#D1AFFC
Closest named color: Pale Violet (#CEAEFA). oklch(81.1% 0.112 304.2), rgb(209, 175, 252).
Aa
Black text reads best on this color (11.24:1).
About this color
#D1AFFC is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.112 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.006 away. Black text reads best on it, at 11.24:1.
| Hue family | Purples |
| Lightness | light (81%) |
| Chroma | moderately saturated (0.112) |
| Temperature | in between |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 11.24:1 |
| White text | 1.86:1 |
Values
| HEX | #D1AFFC |
| RGB | rgb(209, 175, 252) |
| HSL | hsl(266, 93%, 84%) |
| OKLCH | oklch(81.1% 0.112 304.2) |
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 #D1AFFC | 1.86:1 | Fails | Lc -39.4 | Non-text elements, placeholder text |
| Black text on #D1AFFC | 11.24:1 | AAA | Lc 68.7 | Content text, not long reading |
| #D1AFFC text on white | 1.86:1 | Fails | Lc 35.2 | Non-text elements, placeholder text |
| #D1AFFC text on black | 11.24:1 | AAA | Lc -67.3 | 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
#F7F3FE
oklch(97% 0.015 302.6)
-
Step 100
100
#EEE5FC
oklch(93.6% 0.032 303.5)
-
Step 200
200
#E2D0FB
oklch(88.6% 0.061 304.2)
-
Step 300
300 (this color)
#D1AFFC
oklch(81.1% 0.112 304.2)
-
Step 400
400
#BA80F9
oklch(70.8% 0.178 304.4)
-
Step 500
500
#A958F6
oklch(63.1% 0.228 304.1)
-
Step 600
600
#9533E5
oklch(55.6% 0.248 304.1)
-
Step 700
700
#8021C7
oklch(49.1% 0.232 304.4)
-
Step 800
800
#6820A1
oklch(42.8% 0.192 304.4)
-
Step 900
900
#542380
oklch(37.8% 0.149 304.1)
-
Step 950
950
#31164B
oklch(27% 0.095 304.1)
#D1AFFC 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) | #9FBDFF | 0.072 |
| Deuteranopia (no green cones) | #A6BEFA | 0.067 |
| Tritanopia (no blue cones) | #CABACB | 0.085 |
| Achromatopsia (no color) | #BEBEBE | 0.112 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D1AFFC
#D1AFFC
oklch(81.1% 0.112 304.2)
- #B2CE7C
#B2CE7C
oklch(81.2% 0.112 124.2)
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 #D1AFFC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.006
- Light Violet #D6B4FC ΔE 0.015
- Lilac #CEA2FD ΔE 0.033
- Pastel Purple #CAA0FF ΔE 0.041
- Baby Purple #CA9BF7 ΔE 0.051
- Plum #DDA0DD ΔE 0.051
- Light Periwinkle #C1C6FC ΔE 0.061
- Light Lavender #DFC5FE ΔE 0.061
Use #D1AFFC 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.