#D7AFE2
Closest named color: Light Violet (#D6B4FC). oklch(80.6% 0.083 318.9), rgb(215, 175, 226).
Aa
Black text reads best on this color (11.11:1).
About this color
#D7AFE2 is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.083 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.036 away. Black text reads best on it, at 11.11:1.
| Hue family | Purples |
| Lightness | light (81%) |
| Chroma | moderately saturated (0.083) |
| Temperature | in between |
| Nearest name | Light Violet (#D6B4FC) |
| Black text | 11.11:1 |
| White text | 1.88:1 |
Values
| HEX | #D7AFE2 |
| RGB | rgb(215, 175, 226) |
| HSL | hsl(287, 47%, 79%) |
| OKLCH | oklch(80.6% 0.083 318.9) |
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 #D7AFE2 | 1.88:1 | Fails | Lc -40.1 | Non-text elements, placeholder text |
| Black text on #D7AFE2 | 11.11:1 | AAA | Lc 68.1 | Content text, not long reading |
| #D7AFE2 text on white | 1.88:1 | Fails | Lc 35.8 | Non-text elements, placeholder text |
| #D7AFE2 text on black | 11.11:1 | AAA | Lc -66.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
#F9F3FA
oklch(97.1% 0.011 321.3)
-
Step 100
100
#F1E5F4
oklch(93.6% 0.024 319.5)
-
Step 200
200
#E7D0ED
oklch(88.5% 0.046 319.2)
-
Step 300
300 (this color)
#D7AFE2
oklch(80.6% 0.083 318.9)
-
Step 400
400
#C484D5
oklch(70.7% 0.133 319)
-
Step 500
500
#B463C9
oklch(63.2% 0.168 319.1)
-
Step 600
600
#9F46B6
oklch(55.6% 0.184 318.9)
-
Step 700
700
#88379D
oklch(49.2% 0.171 318.8)
-
Step 800
800
#6E2E7F
oklch(42.6% 0.142 318.7)
-
Step 900
900
#5A2A66
oklch(37.7% 0.111 319.3)
-
Step 950
950
#351A3C
oklch(27.1% 0.07 319.1)
#D7AFE2 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) | #A9BAE4 | 0.067 |
| Deuteranopia (no green cones) | #B2BEE0 | 0.063 |
| Tritanopia (no blue cones) | #D8B4C1 | 0.053 |
| Achromatopsia (no color) | #BDBDBD | 0.083 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D7AFE2
#D7AFE2
oklch(80.6% 0.083 318.9)
- #A5CD9A
#A5CD9A
oklch(80.6% 0.082 139)
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 #D7AFE2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Violet #D6B4FC ΔE 0.036
- Plum #DDA0DD ΔE 0.036
- Pale Violet #CEAEFA ΔE 0.038
- Thistle #D8BFD8 ΔE 0.048
- Lilac #CEA2FD ΔE 0.060
- Light Lavender #DFC5FE ΔE 0.061
- Light Periwinkle #C1C6FC ΔE 0.063
- Light Lavendar #EFC0FE ΔE 0.065
Use #D7AFE2 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.