#D7AFEF
Closest named color: Light Violet (#D6B4FC). oklch(81.1% 0.098 312.5), rgb(215, 175, 239).
Aa
Black text reads best on this color (11.26:1).
About this color
#D7AFEF is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.098 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.019 away. Black text reads best on it, at 11.26:1.
| Hue family | Purples |
| Lightness | light (81%) |
| Chroma | moderately saturated (0.098) |
| Temperature | in between |
| Nearest name | Light Violet (#D6B4FC) |
| Black text | 11.26:1 |
| White text | 1.86:1 |
Values
| HEX | #D7AFEF |
| RGB | rgb(215, 175, 239) |
| HSL | hsl(278, 67%, 81%) |
| OKLCH | oklch(81.1% 0.098 312.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 #D7AFEF | 1.86:1 | Fails | Lc -39.3 | Non-text elements, placeholder text |
| Black text on #D7AFEF | 11.26:1 | AAA | Lc 68.7 | Content text, not long reading |
| #D7AFEF text on white | 1.86:1 | Fails | Lc 35.1 | Non-text elements, placeholder text |
| #D7AFEF text on black | 11.26:1 | AAA | Lc -67.4 | 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
#F8F3FC
oklch(97.1% 0.013 310.5)
-
Step 100
100
#F0E5F8
oklch(93.6% 0.028 311.3)
-
Step 200
200
#E6CFF4
oklch(88.5% 0.056 312.8)
-
Step 300
300 (this color)
#D7AFEF
oklch(81.1% 0.098 312.5)
-
Step 400
400
#C281E6
oklch(70.8% 0.157 312.6)
-
Step 500
500
#B25CDE
oklch(63.1% 0.2 312.6)
-
Step 600
600
#9D3CCC
oklch(55.6% 0.217 312.3)
-
Step 700
700
#872CB0
oklch(49.1% 0.202 312.8)
-
Step 800
800
#6D278F
oklch(42.7% 0.168 312.2)
-
Step 900
900
#592672
oklch(37.8% 0.131 312.8)
-
Step 950
950
#341743
oklch(27% 0.084 312.5)
#D7AFEF 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) | #A5BCF2 | 0.073 |
| Deuteranopia (no green cones) | #AEBFED | 0.068 |
| Tritanopia (no blue cones) | #D5B7C6 | 0.069 |
| Achromatopsia (no color) | #BEBEBE | 0.098 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D7AFEF
#D7AFEF
oklch(81.1% 0.098 312.5)
- #A9CF8D
#A9CF8D
oklch(81.1% 0.098 132.6)
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 #D7AFEF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Violet #D6B4FC ΔE 0.019
- Pale Violet #CEAEFA ΔE 0.021
- Plum #DDA0DD ΔE 0.039
- Lilac #CEA2FD ΔE 0.046
- Pastel Purple #CAA0FF ΔE 0.054
- Light Lavender #DFC5FE ΔE 0.056
- Light Lavendar #EFC0FE ΔE 0.059
- Baby Purple #CA9BF7 ΔE 0.060
Use #D7AFEF 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.