#D8AFEB
Closest named color: Light Violet (#D6B4FC). oklch(81% 0.094 314.9), rgb(216, 175, 235).
Aa
Black text reads best on this color (11.25:1).
About this color
#D8AFEB is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.094 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.024 away. Black text reads best on it, at 11.25:1.
| Hue family | Purples |
| Lightness | light (81%) |
| Chroma | moderately saturated (0.094) |
| Temperature | in between |
| Nearest name | Light Violet (#D6B4FC) |
| Black text | 11.25:1 |
| White text | 1.86:1 |
Values
| HEX | #D8AFEB |
| RGB | rgb(216, 175, 235) |
| HSL | hsl(281, 60%, 80%) |
| OKLCH | oklch(81% 0.094 314.9) |
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 #D8AFEB | 1.86:1 | Fails | Lc -39.4 | Non-text elements, placeholder text |
| Black text on #D8AFEB | 11.25:1 | AAA | Lc 68.7 | Content text, not long reading |
| #D8AFEB text on white | 1.86:1 | Fails | Lc 35.2 | Non-text elements, placeholder text |
| #D8AFEB text on black | 11.25: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
#F9F3FB
oklch(97.1% 0.012 317.7)
-
Step 100
100
#F1E5F7
oklch(93.7% 0.027 314.7)
-
Step 200
200
#E6CFF1
oklch(88.4% 0.052 314.9)
-
Step 300
300 (this color)
#D8AFEB
oklch(81% 0.094 314.9)
-
Step 400
400
#C382E0
oklch(70.7% 0.149 314.8)
-
Step 500
500
#B45DD7
oklch(63.1% 0.192 315.2)
-
Step 600
600
#9F3EC4
oklch(55.5% 0.208 315.1)
-
Step 700
700
#882FAA
oklch(49.2% 0.194 314.9)
-
Step 800
800
#6E2989
oklch(42.6% 0.159 314.9)
-
Step 900
900
#5A276E
oklch(37.8% 0.125 315.2)
-
Step 950
950
#341840
oklch(26.9% 0.078 314.7)
#D8AFEB 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) | #A7BBED | 0.071 |
| Deuteranopia (no green cones) | #B0BFE9 | 0.067 |
| Tritanopia (no blue cones) | #D7B6C4 | 0.064 |
| Achromatopsia (no color) | #BEBEBE | 0.094 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D8AFEB
#D8AFEB
oklch(81% 0.094 314.9)
- #A7CF92
#A7CF92
oklch(81% 0.093 135.1)
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 #D8AFEB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Violet #D6B4FC ΔE 0.024
- Pale Violet #CEAEFA ΔE 0.027
- Plum #DDA0DD ΔE 0.037
- Lilac #CEA2FD ΔE 0.050
- Thistle #D8BFD8 ΔE 0.056
- Light Lavender #DFC5FE ΔE 0.057
- Pastel Purple #CAA0FF ΔE 0.059
- Light Lavendar #EFC0FE ΔE 0.059
Use #D8AFEB 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.