#D8AFE4
Closest named color: Light Violet (#D6B4FC). oklch(80.8% 0.086 318.5), rgb(216, 175, 228).
Aa
Black text reads best on this color (11.17:1).
About this color
#D8AFE4 is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.086 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.033 away. Black text reads best on it, at 11.17:1.
| Hue family | Purples |
| Lightness | light (81%) |
| Chroma | moderately saturated (0.086) |
| Temperature | in between |
| Nearest name | Light Violet (#D6B4FC) |
| Black text | 11.17:1 |
| White text | 1.87:1 |
Values
| HEX | #D8AFE4 |
| RGB | rgb(216, 175, 228) |
| HSL | hsl(286, 50%, 79%) |
| OKLCH | oklch(80.8% 0.086 318.5) |
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 #D8AFE4 | 1.87:1 | Fails | Lc -39.8 | Non-text elements, placeholder text |
| Black text on #D8AFE4 | 11.17:1 | AAA | Lc 68.3 | Content text, not long reading |
| #D8AFE4 text on white | 1.87:1 | Fails | Lc 35.6 | Non-text elements, placeholder text |
| #D8AFE4 text on black | 11.17:1 | AAA | Lc -66.9 | 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
#F9F3FA
oklch(97.1% 0.011 321.3)
-
Step 100
100
#F1E5F5
oklch(93.6% 0.025 317.7)
-
Step 200
200
#E7D0EE
oklch(88.6% 0.047 318.3)
-
Step 300
300 (this color)
#D8AFE4
oklch(80.8% 0.086 318.5)
-
Step 400
400
#C483D7
oklch(70.6% 0.137 318.4)
-
Step 500
500
#B561CC
oklch(63.1% 0.175 318.6)
-
Step 600
600
#A044B9
oklch(55.6% 0.19 318.4)
-
Step 700
700
#89349F
oklch(49.1% 0.177 318.7)
-
Step 800
800
#6F2D81
oklch(42.7% 0.146 318.4)
-
Step 900
900
#5A2968
oklch(37.7% 0.115 318.2)
-
Step 950
950
#35193D
oklch(27% 0.073 318.3)
#D8AFE4 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) | #A9BAE6 | 0.069 |
| Deuteranopia (no green cones) | #B2BEE2 | 0.064 |
| Tritanopia (no blue cones) | #D9B5C1 | 0.057 |
| Achromatopsia (no color) | #BDBDBD | 0.086 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D8AFE4
#D8AFE4
oklch(80.8% 0.086 318.5)
- #A5CE98
#A5CE98
oklch(80.8% 0.086 138.3)
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 #D8AFE4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Violet #D6B4FC ΔE 0.033
- Pale Violet #CEAEFA ΔE 0.036
- Plum #DDA0DD ΔE 0.036
- Thistle #D8BFD8 ΔE 0.050
- Lilac #CEA2FD ΔE 0.058
- Light Lavender #DFC5FE ΔE 0.059
- Light Lavendar #EFC0FE ΔE 0.062
- Light Periwinkle #C1C6FC ΔE 0.063
Use #D8AFE4 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.