#DFA2F9
Closest named color: Lilac (#CEA2FD). oklch(80% 0.135 315.4), rgb(223, 162, 249).
Aa
Black text reads best on this color (10.67:1).
About this color
#DFA2F9 is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.135 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.027 away. Black text reads best on it, at 10.67:1.
| Hue family | Purples |
| Lightness | light (80%) |
| Chroma | moderately saturated (0.135) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.67:1 |
| White text | 1.96:1 |
Values
| HEX | #DFA2F9 |
| RGB | rgb(223, 162, 249) |
| HSL | hsl(282, 88%, 81%) |
| OKLCH | oklch(80% 0.135 315.4) |
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 #DFA2F9 | 1.96:1 | Fails | Lc -42.2 | Non-text elements, placeholder text |
| Black text on #DFA2F9 | 10.67:1 | AAA | Lc 66.1 | Content text, not long reading |
| #DFA2F9 text on white | 1.96:1 | Fails | Lc 37.8 | Non-text elements, placeholder text |
| #DFA2F9 text on black | 10.67:1 | AAA | Lc -64.6 | 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
#FAF2FE
oklch(97.1% 0.018 314.7)
-
Step 100
100
#F4E2FC
oklch(93.5% 0.04 315.6)
-
Step 200
200
#EDCBFC
oklch(88.6% 0.075 315.5)
-
Step 300
300 (this color)
#DFA2F9
oklch(80% 0.135 315.4)
-
Step 400
400
#D26DFA
oklch(70.7% 0.216 315.4)
-
Step 500
500
#C633F7
oklch(63.2% 0.277 315.6)
-
Step 600
600
#AC00DC
oklch(55.6% 0.273 315.3)
-
Step 700
700
#9100BA
oklch(49% 0.241 315.3)
-
Step 800
800
#78009A
oklch(42.7% 0.21 315.5)
-
Step 900
900
#640680
oklch(37.7% 0.18 315.6)
-
Step 950
950
#3B0B4B
oklch(27.1% 0.114 315.9)
#DFA2F9 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) | #95B5FC | 0.109 |
| Deuteranopia (no green cones) | #A3BBF6 | 0.101 |
| Tritanopia (no blue cones) | #DEADC2 | 0.092 |
| Achromatopsia (no color) | #B9B9B9 | 0.136 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DFA2F9
#DFA2F9
oklch(80% 0.135 315.4)
- #96D177
#96D177
oklch(79.9% 0.135 135.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 #DFA2F9, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.027
- Pastel Purple #CAA0FF ΔE 0.035
- Pale Violet #CEAEFA ΔE 0.037
- Baby Purple #CA9BF7 ΔE 0.039
- Plum #DDA0DD ΔE 0.040
- Light Violet #D6B4FC ΔE 0.044
- Liliac #C48EFD ΔE 0.069
- Violet #EE82EE ΔE 0.071
Use #DFA2F9 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.