#D2A2F3
Closest named color: Lilac (#CEA2FD). oklch(78.5% 0.123 310.8), rgb(210, 162, 243).
Aa
Black text reads best on this color (10.20:1).
About this color
#D2A2F3 is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.123 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.016 away. Black text reads best on it, at 10.20:1.
| Hue family | Purples |
| Lightness | light (78%) |
| Chroma | moderately saturated (0.123) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.20:1 |
| White text | 2.05:1 |
Values
| HEX | #D2A2F3 |
| RGB | rgb(210, 162, 243) |
| HSL | hsl(276, 77%, 79%) |
| OKLCH | oklch(78.5% 0.123 310.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 #D2A2F3 | 2.05:1 | Fails | Lc -44.6 | Non-text elements, placeholder text |
| Black text on #D2A2F3 | 10.20:1 | AAA | Lc 63.9 | Content text, not long reading |
| #D2A2F3 text on white | 2.05:1 | Fails | Lc 40.0 | Non-text elements, placeholder text |
| #D2A2F3 text on black | 10.20:1 | AAA | Lc -62.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
#F9F3FE
oklch(97.2% 0.016 310.1)
-
Step 100
100
#F1E4FC
oklch(93.6% 0.035 309.8)
-
Step 200
200
#E8CDFB
oklch(88.5% 0.068 311.3)
-
Step 300
300 (this color)
#D2A2F3
oklch(78.5% 0.123 310.8)
-
Step 400
400
#C776F9
oklch(70.6% 0.197 310.9)
-
Step 500
500
#B948F6
oklch(63.2% 0.251 310.9)
-
Step 600
600
#A511E4
oklch(55.6% 0.273 311)
-
Step 700
700
#8C00C4
oklch(49.1% 0.247 310.8)
-
Step 800
800
#7207A0
oklch(42.6% 0.21 310.8)
-
Step 900
900
#5D187F
oklch(37.7% 0.164 311.3)
-
Step 950
950
#36114B
oklch(27% 0.104 310.4)
#D2A2F3 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) | #94B2F6 | 0.090 |
| Deuteranopia (no green cones) | #9EB6F1 | 0.085 |
| Tritanopia (no blue cones) | #CFADC0 | 0.087 |
| Achromatopsia (no color) | #B5B5B5 | 0.123 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D2A2F3
#D2A2F3
oklch(78.5% 0.123 310.8)
- #9DC973
#9DC973
oklch(78.4% 0.123 130.9)
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 #D2A2F3, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.016
- Pastel Purple #CAA0FF ΔE 0.023
- Baby Purple #CA9BF7 ΔE 0.024
- Pale Violet #CEAEFA ΔE 0.029
- Plum #DDA0DD ΔE 0.035
- Light Violet #D6B4FC ΔE 0.044
- Liliac #C48EFD ΔE 0.060
- Lavender Pink #DD85D7 ΔE 0.070
Use #D2A2F3 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.