#D8A7FF
Closest named color: Lilac (#CEA2FD). oklch(80.4% 0.131 309.2), rgb(216, 167, 255).
Aa
Black text reads best on this color (10.89:1).
About this color
#D8A7FF is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.131 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.021 away. Black text reads best on it, at 10.89:1.
| Hue family | Purples |
| Lightness | light (80%) |
| Chroma | moderately saturated (0.131) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.89:1 |
| White text | 1.92:1 |
Values
| HEX | #D8A7FF |
| RGB | rgb(216, 167, 255) |
| HSL | hsl(273, 100%, 83%) |
| OKLCH | oklch(80.4% 0.131 309.2) |
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 #D8A7FF | 1.92:1 | Fails | Lc -41.1 | Non-text elements, placeholder text |
| Black text on #D8A7FF | 10.89:1 | AAA | Lc 67.1 | Content text, not long reading |
| #D8A7FF text on white | 1.92:1 | Fails | Lc 36.8 | Non-text elements, placeholder text |
| #D8A7FF text on black | 10.89:1 | AAA | Lc -65.6 | 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
#F1E3FE
oklch(93.5% 0.039 308.8)
-
Step 200
200
#E7CDFE
oklch(88.5% 0.072 308.9)
-
Step 300
300 (this color)
#D8A7FF
oklch(80.4% 0.131 309.2)
-
Step 400
400
#C675FF
oklch(70.7% 0.205 309.2)
-
Step 500
500
#B841FF
oklch(63% 0.267 309.1)
-
Step 600
600
#A300EB
oklch(55.5% 0.282 309.1)
-
Step 700
700
#8A00C7
oklch(49.1% 0.249 309.3)
-
Step 800
800
#7200A5
oklch(42.8% 0.217 309.4)
-
Step 900
900
#5D1285
oklch(37.8% 0.175 309.4)
-
Step 950
950
#360F4E
oklch(27% 0.111 309)
#D8A7FF 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) | #96B8FF | 0.096 |
| Deuteranopia (no green cones) | #A1BBFC | 0.088 |
| Tritanopia (no blue cones) | #D3B3C7 | 0.095 |
| Achromatopsia (no color) | #BBBBBB | 0.132 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D8A7FF
#D8A7FF
oklch(80.4% 0.131 309.2)
- #A4D072
#A4D072
oklch(80.5% 0.131 129.5)
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 #D8A7FF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.021
- Pale Violet #CEAEFA ΔE 0.024
- Pastel Purple #CAA0FF ΔE 0.029
- Light Violet #D6B4FC ΔE 0.033
- Baby Purple #CA9BF7 ΔE 0.038
- Plum #DDA0DD ΔE 0.048
- Liliac #C48EFD ΔE 0.071
- Light Lavendar #EFC0FE ΔE 0.075
Use #D8A7FF 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.