#D8AFFF
Closest named color: Light Violet (#D6B4FC). oklch(81.8% 0.118 307.4), rgb(216, 175, 255).
Aa
Black text reads best on this color (11.49:1).
About this color
#D8AFFF is a light, moderately saturated purple. In OKLCH its lightness is 82%, its chroma 0.118 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.49:1.
| Hue family | Purples |
| Lightness | light (82%) |
| Chroma | moderately saturated (0.118) |
| Temperature | in between |
| Nearest name | Light Violet (#D6B4FC) |
| Black text | 11.49:1 |
| White text | 1.82:1 |
Values
| HEX | #D8AFFF |
| RGB | rgb(216, 175, 255) |
| HSL | hsl(271, 100%, 84%) |
| OKLCH | oklch(81.8% 0.118 307.4) |
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 #D8AFFF | 1.82:1 | Fails | Lc -38.2 | Non-text elements, placeholder text |
| Black text on #D8AFFF | 11.49:1 | AAA | Lc 69.8 | Content text, not long reading |
| #D8AFFF text on white | 1.82:1 | Fails | Lc 34.1 | Non-text elements, placeholder text |
| #D8AFFF text on black | 11.49:1 | AAA | Lc -68.5 | 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
#E5CEFB
oklch(88.5% 0.066 308.1)
-
Step 300
300 (this color)
#D8AFFF
oklch(81.8% 0.118 307.4)
-
Step 400
400
#C07BFA
oklch(70.7% 0.188 307.3)
-
Step 500
500
#B150F7
oklch(63.1% 0.241 307.4)
-
Step 600
600
#9D25E6
oklch(55.6% 0.262 307.4)
-
Step 700
700
#8610C8
oklch(49.1% 0.244 307.2)
-
Step 800
800
#6D16A1
oklch(42.7% 0.201 307.6)
-
Step 900
900
#581E80
oklch(37.7% 0.157 307.3)
-
Step 950
950
#34144B
oklch(27.1% 0.099 307.8)
#D8AFFF 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.081 |
| Deuteranopia (no green cones) | #A8C0FD | 0.075 |
| Tritanopia (no blue cones) | #D3BACC | 0.087 |
| Achromatopsia (no color) | #C0C0C0 | 0.118 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D8AFFF
#D8AFFF
oklch(81.8% 0.118 307.4)
- #AED27D
#AED27D
oklch(81.8% 0.118 127.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 #D8AFFF, 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.017
- Lilac #CEA2FD ΔE 0.037
- Pastel Purple #CAA0FF ΔE 0.045
- Plum #DDA0DD ΔE 0.052
- Baby Purple #CA9BF7 ΔE 0.055
- Light Lavender #DFC5FE ΔE 0.058
- Light Lavendar #EFC0FE ΔE 0.058
Use #D8AFFF 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.