#D1AFEB
Closest named color: Pale Violet (#CEAEFA). oklch(80.4% 0.091 310.1), rgb(209, 175, 235).
Aa
Black text reads best on this color (11.04:1).
About this color
#D1AFEB is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.091 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.023 away. Black text reads best on it, at 11.04:1.
| Hue family | Purples |
| Lightness | light (80%) |
| Chroma | moderately saturated (0.091) |
| Temperature | in between |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 11.04:1 |
| White text | 1.90:1 |
Values
| HEX | #D1AFEB |
| RGB | rgb(209, 175, 235) |
| HSL | hsl(274, 60%, 80%) |
| OKLCH | oklch(80.4% 0.091 310.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 #D1AFEB | 1.90:1 | Fails | Lc -40.5 | Non-text elements, placeholder text |
| Black text on #D1AFEB | 11.04:1 | AAA | Lc 67.7 | Content text, not long reading |
| #D1AFEB text on white | 1.90:1 | Fails | Lc 36.2 | Non-text elements, placeholder text |
| #D1AFEB text on black | 11.04:1 | AAA | Lc -66.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
#F8F3FC
oklch(97.1% 0.013 310.5)
-
Step 100
100
#EFE5F7
oklch(93.5% 0.026 310.4)
-
Step 200
200
#E3D0F3
oklch(88.4% 0.052 309.6)
-
Step 300
300 (this color)
#D1AFEB
oklch(80.4% 0.091 310.1)
-
Step 400
400
#BC85E3
oklch(70.7% 0.144 310.1)
-
Step 500
500
#AC62DB
oklch(63.1% 0.186 310.4)
-
Step 600
600
#9745C9
oklch(55.6% 0.201 310)
-
Step 700
700
#8135AD
oklch(49.1% 0.187 310.3)
-
Step 800
800
#692D8C
oklch(42.7% 0.155 310.5)
-
Step 900
900
#552A70
oklch(37.7% 0.121 310.2)
-
Step 950
950
#321A42
oklch(27.1% 0.076 310)
#D1AFEB 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) | #A5BAED | 0.064 |
| Deuteranopia (no green cones) | #ACBDE9 | 0.060 |
| Tritanopia (no blue cones) | #CEB7C4 | 0.066 |
| Achromatopsia (no color) | #BCBCBC | 0.091 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D1AFEB
#D1AFEB
oklch(80.4% 0.091 310.1)
- #ACCB8D
#ACCB8D
oklch(80.4% 0.09 129.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 #D1AFEB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.023
- Light Violet #D6B4FC ΔE 0.026
- Plum #DDA0DD ΔE 0.039
- Lilac #CEA2FD ΔE 0.048
- Pastel Purple #CAA0FF ΔE 0.055
- Thistle #D8BFD8 ΔE 0.058
- Light Periwinkle #C1C6FC ΔE 0.058
- Baby Purple #CA9BF7 ΔE 0.059
Use #D1AFEB 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.