#D2AFEF
Closest named color: Pale Violet (#CEAEFA). oklch(80.6% 0.096 309.2), rgb(210, 175, 239).
Aa
Black text reads best on this color (11.11:1).
About this color
#D2AFEF is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.096 and its hue 309°. 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.11:1.
| Hue family | Purples |
| Lightness | light (81%) |
| Chroma | moderately saturated (0.096) |
| Temperature | in between |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 11.11:1 |
| White text | 1.88:1 |
Values
| HEX | #D2AFEF |
| RGB | rgb(210, 175, 239) |
| HSL | hsl(273, 67%, 81%) |
| OKLCH | oklch(80.6% 0.096 309.2) |
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 #D2AFEF | 1.88:1 | Fails | Lc -40.1 | Non-text elements, placeholder text |
| Black text on #D2AFEF | 11.11:1 | AAA | Lc 68.1 | Content text, not long reading |
| #D2AFEF text on white | 1.88:1 | Fails | Lc 35.8 | Non-text elements, placeholder text |
| #D2AFEF text on black | 11.11:1 | AAA | Lc -66.7 | 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
#E3D0F4
oklch(88.4% 0.053 309)
-
Step 300
300 (this color)
#D2AFEF
oklch(80.6% 0.096 309.2)
-
Step 400
400
#BD83E8
oklch(70.7% 0.154 309.4)
-
Step 500
500
#AC5FE1
oklch(63% 0.197 309.2)
-
Step 600
600
#9840CF
oklch(55.6% 0.214 309.3)
-
Step 700
700
#8231B3
oklch(49.2% 0.198 309.4)
-
Step 800
800
#692A91
oklch(42.7% 0.164 309)
-
Step 900
900
#552874
oklch(37.6% 0.129 308.7)
-
Step 950
950
#321944
oklch(27.1% 0.081 308.8)
#D2AFEF 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.067 |
| Deuteranopia (no green cones) | #ABBDED | 0.062 |
| Tritanopia (no blue cones) | #CFB7C6 | 0.069 |
| Achromatopsia (no color) | #BDBDBD | 0.096 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D2AFEF
#D2AFEF
oklch(80.6% 0.096 309.2)
- #ACCC8A
#ACCC8A
oklch(80.5% 0.095 129.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 #D2AFEF, 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.021
- 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.058
- Light Lavender #DFC5FE ΔE 0.059
Use #D2AFEF 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.