#D8A2FF
Closest named color: Lilac (#CEA2FD). oklch(79.6% 0.139 310.1), rgb(216, 162, 255).
Aa
Black text reads best on this color (10.53:1).
About this color
#D8A2FF is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.139 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.016 away. Black text reads best on it, at 10.53:1.
| Hue family | Purples |
| Lightness | light (80%) |
| Chroma | moderately saturated (0.139) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.53:1 |
| White text | 1.99:1 |
Values
| HEX | #D8A2FF |
| RGB | rgb(216, 162, 255) |
| HSL | hsl(275, 100%, 82%) |
| OKLCH | oklch(79.6% 0.139 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 #D8A2FF | 1.99:1 | Fails | Lc -42.9 | Non-text elements, placeholder text |
| Black text on #D8A2FF | 10.53:1 | AAA | Lc 65.5 | Content text, not long reading |
| #D8A2FF text on white | 1.99:1 | Fails | Lc 38.5 | Non-text elements, placeholder text |
| #D8A2FF text on black | 10.53:1 | AAA | Lc -63.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
#F9F2FF
oklch(97% 0.019 309.8)
-
Step 100
100
#F2E3FF
oklch(93.6% 0.041 309.5)
-
Step 200
200
#E9CCFF
oklch(88.6% 0.075 310.4)
-
Step 300
300 (this color)
#D8A2FF
oklch(79.6% 0.139 310.1)
-
Step 400
400
#C873FF
oklch(70.6% 0.208 310.1)
-
Step 500
500
#BB3EFF
oklch(63.1% 0.27 310.2)
-
Step 600
600
#A500E9
oklch(55.6% 0.281 310.2)
-
Step 700
700
#8B00C5
oklch(49.1% 0.248 310.2)
-
Step 800
800
#7300A3
oklch(42.7% 0.216 310.5)
-
Step 900
900
#5F0688
oklch(37.7% 0.185 310)
-
Step 950
950
#380B50
oklch(27% 0.118 310.2)
#D8A2FF 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) | #90B5FF | 0.105 |
| Deuteranopia (no green cones) | #9DB9FC | 0.096 |
| Tritanopia (no blue cones) | #D4AFC5 | 0.099 |
| Achromatopsia (no color) | #B8B8B8 | 0.140 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D8A2FF
#D8A2FF
oklch(79.6% 0.139 310.1)
- #9ECE6A
#9ECE6A
oklch(79.5% 0.139 130.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 #D8A2FF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.016
- Pastel Purple #CAA0FF ΔE 0.023
- Baby Purple #CA9BF7 ΔE 0.030
- Pale Violet #CEAEFA ΔE 0.034
- Light Violet #D6B4FC ΔE 0.045
- Plum #DDA0DD ΔE 0.049
- Liliac #C48EFD ΔE 0.060
- Violet #EE82EE ΔE 0.075
Use #D8A2FF 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.