#D2A2F7
Closest named color: Lilac (#CEA2FD). oklch(78.7% 0.128 309.6), rgb(210, 162, 247).
Aa
Black text reads best on this color (10.25:1).
About this color
#D2A2F7 is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.128 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.011 away. Black text reads best on it, at 10.25:1.
| Hue family | Purples |
| Lightness | light (79%) |
| Chroma | moderately saturated (0.128) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.25:1 |
| White text | 2.04:1 |
Values
| HEX | #D2A2F7 |
| RGB | rgb(210, 162, 247) |
| HSL | hsl(274, 84%, 80%) |
| OKLCH | oklch(78.7% 0.128 309.6) |
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 #D2A2F7 | 2.04:1 | Fails | Lc -44.3 | Non-text elements, placeholder text |
| Black text on #D2A2F7 | 10.25:1 | AAA | Lc 64.1 | Content text, not long reading |
| #D2A2F7 text on white | 2.04:1 | Fails | Lc 39.8 | Non-text elements, placeholder text |
| #D2A2F7 text on black | 10.25:1 | AAA | Lc -62.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
#F9F3FE
oklch(97.2% 0.016 310.1)
-
Step 100
100
#F1E4FD
oklch(93.7% 0.036 308.9)
-
Step 200
200
#E7CDFD
oklch(88.5% 0.07 309.3)
-
Step 300
300 (this color)
#D2A2F7
oklch(78.7% 0.128 309.6)
-
Step 400
400
#C675FE
oklch(70.6% 0.204 309.4)
-
Step 500
500
#B844FC
oklch(63.1% 0.261 309.5)
-
Step 600
600
#A400EA
oklch(55.6% 0.282 309.6)
-
Step 700
700
#8A00C7
oklch(49.1% 0.249 309.3)
-
Step 800
800
#7200A5
oklch(42.8% 0.217 309.4)
-
Step 900
900
#5C1583
oklch(37.7% 0.17 309.4)
-
Step 950
950
#36104D
oklch(27% 0.108 309.4)
#D2A2F7 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) | #92B3FA | 0.093 |
| Deuteranopia (no green cones) | #9DB6F5 | 0.086 |
| Tritanopia (no blue cones) | #CEAEC1 | 0.093 |
| Achromatopsia (no color) | #B5B5B5 | 0.128 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D2A2F7
#D2A2F7
oklch(78.7% 0.128 309.6)
- #9FCA6F
#9FCA6F
oklch(78.7% 0.128 129.6)
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 #D2A2F7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.011
- Pastel Purple #CAA0FF ΔE 0.019
- Baby Purple #CA9BF7 ΔE 0.022
- Pale Violet #CEAEFA ΔE 0.029
- Plum #DDA0DD ΔE 0.040
- Light Violet #D6B4FC ΔE 0.044
- Liliac #C48EFD ΔE 0.058
- Lavender Pink #DD85D7 ΔE 0.072
Use #D2A2F7 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.