#D8A2E1
Closest named color: Plum (#DDA0DD). oklch(78.3% 0.105 321.6), rgb(216, 162, 225).
Aa
Black text reads best on this color (10.17:1).
About this color
#D8A2E1 is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.105 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.010 away. Black text reads best on it, at 10.17:1.
| Hue family | Purples |
| Lightness | light (78%) |
| Chroma | moderately saturated (0.105) |
| Temperature | in between |
| Nearest name | Plum (#DDA0DD) |
| Black text | 10.17:1 |
| White text | 2.06:1 |
Values
| HEX | #D8A2E1 |
| RGB | rgb(216, 162, 225) |
| HSL | hsl(291, 51%, 76%) |
| OKLCH | oklch(78.3% 0.105 321.6) |
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 #D8A2E1 | 2.06:1 | Fails | Lc -44.7 | Non-text elements, placeholder text |
| Black text on #D8A2E1 | 10.17:1 | AAA | Lc 63.7 | Content text, not long reading |
| #D8A2E1 text on white | 2.06:1 | Fails | Lc 40.2 | Non-text elements, placeholder text |
| #D8A2E1 text on black | 10.17:1 | AAA | Lc -62.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
#FAF3FB
oklch(97.2% 0.013 321.9)
-
Step 100
100
#F4E4F6
oklch(93.7% 0.029 322.4)
-
Step 200
200
#ECCDF1
oklch(88.5% 0.059 321.6)
-
Step 300
300 (this color)
#D8A2E1
oklch(78.3% 0.105 321.6)
-
Step 400
400
#D079DF
oklch(70.7% 0.169 321.6)
-
Step 500
500
#C250D5
oklch(63.1% 0.215 321.7)
-
Step 600
600
#AD2AC2
oklch(55.5% 0.233 321.6)
-
Step 700
700
#9519A8
oklch(49.2% 0.218 321.7)
-
Step 800
800
#791A88
oklch(42.8% 0.18 321.7)
-
Step 900
900
#621E6D
oklch(37.7% 0.141 321.8)
-
Step 950
950
#391440
oklch(27% 0.088 321)
#D8A2E1 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) | #9CB1E4 | 0.089 |
| Deuteranopia (no green cones) | #A8B7DF | 0.084 |
| Tritanopia (no blue cones) | #DAA8B8 | 0.066 |
| Achromatopsia (no color) | #B4B4B4 | 0.106 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D8A2E1
#D8A2E1
oklch(78.3% 0.105 321.6)
- #92CA8A
#92CA8A
oklch(78.4% 0.106 141.4)
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 #D8A2E1, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Plum #DDA0DD ΔE 0.010
- Pale Violet #CEAEFA ΔE 0.041
- Lilac #CEA2FD ΔE 0.043
- Baby Purple #CA9BF7 ΔE 0.047
- Light Violet #D6B4FC ΔE 0.050
- Pastel Purple #CAA0FF ΔE 0.050
- Lavender Pink #DD85D7 ΔE 0.066
- Pale Purple #B790D4 ΔE 0.072
Use #D8A2E1 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.