#D4AFE3
Closest named color: Light Violet (#D6B4FC). oklch(80.4% 0.082 316.1), rgb(212, 175, 227).
Aa
Black text reads best on this color (11.04:1).
About this color
#D4AFE3 is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.082 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.035 away. Black text reads best on it, at 11.04:1.
| Hue family | Purples |
| Lightness | light (80%) |
| Chroma | moderately saturated (0.082) |
| Temperature | in between |
| Nearest name | Light Violet (#D6B4FC) |
| Black text | 11.04:1 |
| White text | 1.90:1 |
Values
| HEX | #D4AFE3 |
| RGB | rgb(212, 175, 227) |
| HSL | hsl(283, 48%, 79%) |
| OKLCH | oklch(80.4% 0.082 316.1) |
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 #D4AFE3 | 1.90:1 | Fails | Lc -40.5 | Non-text elements, placeholder text |
| Black text on #D4AFE3 | 11.04:1 | AAA | Lc 67.7 | Content text, not long reading |
| #D4AFE3 text on white | 1.90:1 | Fails | Lc 36.2 | Non-text elements, placeholder text |
| #D4AFE3 text on black | 11.04:1 | AAA | Lc -66.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
#F8F3FB
oklch(97% 0.012 313.2)
-
Step 100
100
#F0E5F5
oklch(93.5% 0.024 315.5)
-
Step 200
200
#E5D0EE
oklch(88.4% 0.046 315.8)
-
Step 300
300 (this color)
#D4AFE3
oklch(80.4% 0.082 316.1)
-
Step 400
400
#C186D8
oklch(70.8% 0.132 316.1)
-
Step 500
500
#B064CD
oklch(63% 0.169 315.9)
-
Step 600
600
#9B48B9
oklch(55.5% 0.182 316.1)
-
Step 700
700
#8538A0
oklch(49.1% 0.171 316.2)
-
Step 800
800
#6C3082
oklch(42.8% 0.141 315.9)
-
Step 900
900
#582B68
oklch(37.7% 0.111 316.4)
-
Step 950
950
#331A3D
oklch(26.9% 0.07 315.6)
#D4AFE3 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) | #A8BAE5 | 0.064 |
| Deuteranopia (no green cones) | #B0BDE1 | 0.060 |
| Tritanopia (no blue cones) | #D4B5C1 | 0.056 |
| Achromatopsia (no color) | #BCBCBC | 0.083 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D4AFE3
#D4AFE3
oklch(80.4% 0.082 316.1)
- #A7CC97
#A7CC97
oklch(80.5% 0.083 136.4)
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 #D4AFE3, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Violet #D6B4FC ΔE 0.035
- Pale Violet #CEAEFA ΔE 0.035
- Plum #DDA0DD ΔE 0.037
- Thistle #D8BFD8 ΔE 0.050
- Lilac #CEA2FD ΔE 0.058
- Light Periwinkle #C1C6FC ΔE 0.061
- Light Lavender #DFC5FE ΔE 0.062
- Pastel Purple #CAA0FF ΔE 0.065
Use #D4AFE3 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.