#D7AFFF
Closest named color: Light Violet (#D6B4FC). oklch(81.7% 0.117 306.8), rgb(215, 175, 255).
Aa
Black text reads best on this color (11.46:1).
About this color
#D7AFFF is a light, moderately saturated purple. In OKLCH its lightness is 82%, its chroma 0.117 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.014 away. Black text reads best on it, at 11.46:1.
| Hue family | Purples |
| Lightness | light (82%) |
| Chroma | moderately saturated (0.117) |
| Temperature | in between |
| Nearest name | Light Violet (#D6B4FC) |
| Black text | 11.46:1 |
| White text | 1.83:1 |
Values
| HEX | #D7AFFF |
| RGB | rgb(215, 175, 255) |
| HSL | hsl(270, 100%, 84%) |
| OKLCH | oklch(81.7% 0.117 306.8) |
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 #D7AFFF | 1.83:1 | Fails | Lc -38.4 | Non-text elements, placeholder text |
| Black text on #D7AFFF | 11.46:1 | AAA | Lc 69.6 | Content text, not long reading |
| #D7AFFF text on white | 1.83:1 | Fails | Lc 34.2 | Non-text elements, placeholder text |
| #D7AFFF text on black | 11.46:1 | AAA | Lc -68.3 | 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
#F8F3FE
oklch(97.1% 0.015 306.4)
-
Step 100
100
#F0E4FC
oklch(93.5% 0.034 308.1)
-
Step 200
200
#E4CEFC
oklch(88.4% 0.066 306.7)
-
Step 300
300 (this color)
#D7AFFF
oklch(81.7% 0.117 306.8)
-
Step 400
400
#BF7CFB
oklch(70.8% 0.188 306.6)
-
Step 500
500
#B051F8
oklch(63.2% 0.24 306.8)
-
Step 600
600
#9C26E6
oklch(55.6% 0.261 307)
-
Step 700
700
#8512C8
oklch(49% 0.243 306.8)
-
Step 800
800
#6C17A2
oklch(42.7% 0.201 306.7)
-
Step 900
900
#581E80
oklch(37.7% 0.157 307.3)
-
Step 950
950
#33144B
oklch(27% 0.099 306.8)
#D7AFFF 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) | #A0BEFF | 0.080 |
| Deuteranopia (no green cones) | #A8C0FD | 0.074 |
| Tritanopia (no blue cones) | #D2BACC | 0.087 |
| Achromatopsia (no color) | #BFBFBF | 0.118 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D7AFFF
#D7AFFF
oklch(81.7% 0.117 306.8)
- #AFD17C
#AFD17C
oklch(81.6% 0.117 126.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 #D7AFFF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Violet #D6B4FC ΔE 0.014
- Pale Violet #CEAEFA ΔE 0.016
- Lilac #CEA2FD ΔE 0.036
- Pastel Purple #CAA0FF ΔE 0.044
- Plum #DDA0DD ΔE 0.052
- Baby Purple #CA9BF7 ΔE 0.054
- Light Lavender #DFC5FE ΔE 0.058
- Light Lavendar #EFC0FE ΔE 0.059
Use #D7AFFF 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.