#D8A7F2
Closest named color: Pale Violet (#CEAEFA). oklch(79.9% 0.116 313.5), rgb(216, 167, 242).
Aa
Black text reads best on this color (10.72:1).
About this color
#D8A7F2 is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.116 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.022 away. Black text reads best on it, at 10.72:1.
| Hue family | Purples |
| Lightness | light (80%) |
| Chroma | moderately saturated (0.116) |
| Temperature | in between |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 10.72:1 |
| White text | 1.95:1 |
Values
| HEX | #D8A7F2 |
| RGB | rgb(216, 167, 242) |
| HSL | hsl(279, 74%, 80%) |
| OKLCH | oklch(79.9% 0.116 313.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 #D8A7F2 | 1.95:1 | Fails | Lc -42.0 | Non-text elements, placeholder text |
| Black text on #D8A7F2 | 10.72:1 | AAA | Lc 66.3 | Content text, not long reading |
| #D8A7F2 text on white | 1.95:1 | Fails | Lc 37.6 | Non-text elements, placeholder text |
| #D8A7F2 text on black | 10.72:1 | AAA | Lc -64.8 | 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
#F2E4FA
oklch(93.6% 0.033 313.5)
-
Step 200
200
#E9CDF8
oklch(88.5% 0.065 313.9)
-
Step 300
300 (this color)
#D8A7F2
oklch(79.9% 0.116 313.5)
-
Step 400
400
#C978F0
oklch(70.6% 0.185 313.7)
-
Step 500
500
#BA4DEB
oklch(63.1% 0.236 313.4)
-
Step 600
600
#A620D9
oklch(55.5% 0.257 313.5)
-
Step 700
700
#8E09BC
oklch(49% 0.239 313.5)
-
Step 800
800
#741398
oklch(42.7% 0.198 313.8)
-
Step 900
900
#5D1C79
oklch(37.6% 0.153 313.4)
-
Step 950
950
#371347
oklch(27.1% 0.097 313.7)
#D8A7F2 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) | #9BB6F5 | 0.089 |
| Deuteranopia (no green cones) | #A6BBF0 | 0.083 |
| Tritanopia (no blue cones) | #D6B1C2 | 0.081 |
| Achromatopsia (no color) | #B9B9B9 | 0.116 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D8A7F2
#D8A7F2
oklch(79.9% 0.116 313.5)
- #9FCE80
#9FCE80
oklch(79.9% 0.116 133.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 #D8A7F2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.022
- Lilac #CEA2FD ΔE 0.028
- Plum #DDA0DD ΔE 0.031
- Light Violet #D6B4FC ΔE 0.031
- Pastel Purple #CAA0FF ΔE 0.037
- Baby Purple #CA9BF7 ΔE 0.041
- Light Lavendar #EFC0FE ΔE 0.073
- Light Lavender #DFC5FE ΔE 0.074
Use #D8A7F2 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.