#D8A7EF
Closest named color: Pale Violet (#CEAEFA). oklch(79.8% 0.112 314.7), rgb(216, 167, 239).
Aa
Black text reads best on this color (10.69:1).
About this color
#D8A7EF is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.112 and its hue 315°. 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 10.69:1.
| Hue family | Purples |
| Lightness | light (80%) |
| Chroma | moderately saturated (0.112) |
| Temperature | in between |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 10.69:1 |
| White text | 1.96:1 |
Values
| HEX | #D8A7EF |
| RGB | rgb(216, 167, 239) |
| HSL | hsl(281, 69%, 80%) |
| OKLCH | oklch(79.8% 0.112 314.7) |
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 #D8A7EF | 1.96:1 | Fails | Lc -42.1 | Non-text elements, placeholder text |
| Black text on #D8A7EF | 10.69:1 | AAA | Lc 66.2 | Content text, not long reading |
| #D8A7EF text on white | 1.96:1 | Fails | Lc 37.8 | Non-text elements, placeholder text |
| #D8A7EF text on black | 10.69:1 | AAA | Lc -64.7 | 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
#F9F3FD
oklch(97.2% 0.015 312.2)
-
Step 100
100
#F2E4F9
oklch(93.6% 0.032 314.7)
-
Step 200
200
#E9CDF6
oklch(88.4% 0.063 315.1)
-
Step 300
300 (this color)
#D8A7EF
oklch(79.8% 0.112 314.7)
-
Step 400
400
#C979ED
oklch(70.6% 0.18 314.5)
-
Step 500
500
#BB4FE6
oklch(63.1% 0.229 314.8)
-
Step 600
600
#A726D4
oklch(55.7% 0.249 314.9)
-
Step 700
700
#8F13B8
oklch(49.2% 0.232 314.8)
-
Step 800
800
#741795
oklch(42.7% 0.192 314.7)
-
Step 900
900
#5E1D77
oklch(37.7% 0.151 314.7)
-
Step 950
950
#371345
oklch(26.9% 0.095 315.2)
#D8A7EF 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) | #9CB6F2 | 0.088 |
| Deuteranopia (no green cones) | #A7BAED | 0.081 |
| Tritanopia (no blue cones) | #D7B0C1 | 0.077 |
| Achromatopsia (no color) | #B9B9B9 | 0.113 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D8A7EF
#D8A7EF
oklch(79.8% 0.112 314.7)
- #9ECD83
#9ECD83
oklch(79.7% 0.112 134.7)
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 #D8A7EF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.023
- Plum #DDA0DD ΔE 0.027
- Lilac #CEA2FD ΔE 0.031
- Light Violet #D6B4FC ΔE 0.032
- Pastel Purple #CAA0FF ΔE 0.040
- Baby Purple #CA9BF7 ΔE 0.043
- Light Lavendar #EFC0FE ΔE 0.073
- Light Lavender #DFC5FE ΔE 0.074
Use #D8A7EF 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.