#D3AFEF
Closest named color: Pale Violet (#CEAEFA). oklch(80.7% 0.096 309.9), rgb(211, 175, 239).
Aa
Black text reads best on this color (11.14:1).
About this color
#D3AFEF is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.096 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.018 away. Black text reads best on it, at 11.14:1.
| Hue family | Purples |
| Lightness | light (81%) |
| Chroma | moderately saturated (0.096) |
| Temperature | in between |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 11.14:1 |
| White text | 1.88:1 |
Values
| HEX | #D3AFEF |
| RGB | rgb(211, 175, 239) |
| HSL | hsl(274, 67%, 81%) |
| OKLCH | oklch(80.7% 0.096 309.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 #D3AFEF | 1.88:1 | Fails | Lc -39.9 | Non-text elements, placeholder text |
| Black text on #D3AFEF | 11.14:1 | AAA | Lc 68.2 | Content text, not long reading |
| #D3AFEF text on white | 1.88:1 | Fails | Lc 35.7 | Non-text elements, placeholder text |
| #D3AFEF text on black | 11.14:1 | AAA | Lc -66.8 | 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
#EFE5F8
oklch(93.5% 0.027 309.2)
-
Step 200
200
#E4D0F4
oklch(88.5% 0.053 310.1)
-
Step 300
300 (this color)
#D3AFEF
oklch(80.7% 0.096 309.9)
-
Step 400
400
#BE83E8
oklch(70.8% 0.154 309.9)
-
Step 500
500
#AD5FE0
oklch(63.1% 0.196 309.8)
-
Step 600
600
#9940CE
oklch(55.7% 0.213 309.9)
-
Step 700
700
#8330B2
oklch(49.2% 0.198 310.2)
-
Step 800
800
#6A2A90
oklch(42.7% 0.164 309.9)
-
Step 900
900
#562873
oklch(37.7% 0.128 309.9)
-
Step 950
950
#321844
oklch(26.9% 0.083 309.2)
#D3AFEF 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) | #A4BBF2 | 0.068 |
| Deuteranopia (no green cones) | #ACBDED | 0.063 |
| Tritanopia (no blue cones) | #D0B7C6 | 0.069 |
| Achromatopsia (no color) | #BDBDBD | 0.097 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D3AFEF
#D3AFEF
oklch(80.7% 0.096 309.9)
- #ACCD8A
#ACCD8A
oklch(80.8% 0.097 129.7)
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 #D3AFEF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.018
- Light Violet #D6B4FC ΔE 0.020
- Plum #DDA0DD ΔE 0.040
- Lilac #CEA2FD ΔE 0.044
- Pastel Purple #CAA0FF ΔE 0.052
- Baby Purple #CA9BF7 ΔE 0.057
- Light Periwinkle #C1C6FC ΔE 0.059
- Light Lavender #DFC5FE ΔE 0.059
Use #D3AFEF 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.