#D1AFF9
Closest named color: Pale Violet (#CEAEFA). oklch(81% 0.108 305.1), rgb(209, 175, 249).
Aa
Black text reads best on this color (11.21:1).
About this color
#D1AFF9 is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.108 and its hue 305°. 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.21:1.
| Hue family | Purples |
| Lightness | light (81%) |
| Chroma | moderately saturated (0.108) |
| Temperature | in between |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 11.21:1 |
| White text | 1.87:1 |
Values
| HEX | #D1AFF9 |
| RGB | rgb(209, 175, 249) |
| HSL | hsl(268, 86%, 83%) |
| OKLCH | oklch(81% 0.108 305.1) |
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 #D1AFF9 | 1.87:1 | Fails | Lc -39.6 | Non-text elements, placeholder text |
| Black text on #D1AFF9 | 11.21:1 | AAA | Lc 68.5 | Content text, not long reading |
| #D1AFF9 text on white | 1.87:1 | Fails | Lc 35.4 | Non-text elements, placeholder text |
| #D1AFF9 text on black | 11.21:1 | AAA | Lc -67.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
#F8F3FE
oklch(97.1% 0.015 306.4)
-
Step 100
100
#EFE5FB
oklch(93.6% 0.031 306.2)
-
Step 200
200
#E2D0FA
oklch(88.5% 0.06 304.6)
-
Step 300
300 (this color)
#D1AFF9
oklch(81% 0.108 305.1)
-
Step 400
400
#BA81F6
oklch(70.8% 0.173 304.9)
-
Step 500
500
#AA5AF1
oklch(63.1% 0.22 305.3)
-
Step 600
600
#9637E0
oklch(55.7% 0.24 305.2)
-
Step 700
700
#8026C2
oklch(49.1% 0.223 305.4)
-
Step 800
800
#68239D
oklch(42.7% 0.185 305.4)
-
Step 900
900
#54247D
oklch(37.6% 0.145 305.1)
-
Step 950
950
#311749
oklch(27% 0.091 305)
#D1AFF9 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) | #A1BCFC | 0.069 |
| Deuteranopia (no green cones) | #A7BDF7 | 0.065 |
| Tritanopia (no blue cones) | #CBBAC9 | 0.083 |
| Achromatopsia (no color) | #BDBDBD | 0.109 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D1AFF9
#D1AFF9
oklch(81% 0.108 305.1)
- #B1CD7F
#B1CD7F
oklch(80.9% 0.107 124.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 #D1AFF9, 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.035
- Pastel Purple #CAA0FF ΔE 0.043
- Plum #DDA0DD ΔE 0.048
- Baby Purple #CA9BF7 ΔE 0.051
- Light Periwinkle #C1C6FC ΔE 0.059
- Light Lavender #DFC5FE ΔE 0.060
Use #D1AFF9 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.