#DFA2F1
Closest named color: Plum (#DDA0DD). oklch(79.7% 0.127 318.4), rgb(223, 162, 241).
Aa
Black text reads best on this color (10.57:1).
About this color
#DFA2F1 is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.127 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.028 away. Black text reads best on it, at 10.57:1.
| Hue family | Purples |
| Lightness | light (80%) |
| Chroma | moderately saturated (0.127) |
| Temperature | in between |
| Nearest name | Plum (#DDA0DD) |
| Black text | 10.57:1 |
| White text | 1.98:1 |
Values
| HEX | #DFA2F1 |
| RGB | rgb(223, 162, 241) |
| HSL | hsl(286, 74%, 79%) |
| OKLCH | oklch(79.7% 0.127 318.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 #DFA2F1 | 1.98:1 | Fails | Lc -42.7 | Non-text elements, placeholder text |
| Black text on #DFA2F1 | 10.57:1 | AAA | Lc 65.7 | Content text, not long reading |
| #DFA2F1 text on white | 1.98:1 | Fails | Lc 38.3 | Non-text elements, placeholder text |
| #DFA2F1 text on black | 10.57:1 | AAA | Lc -64.1 | 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
#FAF2FD
oklch(97% 0.017 316.9)
-
Step 100
100
#F5E3FA
oklch(93.7% 0.036 318.9)
-
Step 200
200
#EDCBF8
oklch(88.5% 0.071 317.8)
-
Step 300
300 (this color)
#DFA2F1
oklch(79.7% 0.127 318.4)
-
Step 400
400
#D470F0
oklch(70.8% 0.202 318.4)
-
Step 500
500
#C73CEA
oklch(63.1% 0.258 318.5)
-
Step 600
600
#B000D4
oklch(55.6% 0.269 318.5)
-
Step 700
700
#9500B4
oklch(49.2% 0.238 318.4)
-
Step 800
800
#7B0095
oklch(42.8% 0.207 318.4)
-
Step 900
900
#640F79
oklch(37.6% 0.169 318.2)
-
Step 950
950
#3B0D47
oklch(27% 0.108 318.4)
#DFA2F1 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) | #98B4F4 | 0.105 |
| Deuteranopia (no green cones) | #A6BAEE | 0.097 |
| Tritanopia (no blue cones) | #DFABBF | 0.082 |
| Achromatopsia (no color) | #B8B8B8 | 0.127 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DFA2F1
#DFA2F1
oklch(79.7% 0.127 318.4)
- #93D07F
#93D07F
oklch(79.6% 0.127 138.2)
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 #DFA2F1, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Plum #DDA0DD ΔE 0.028
- Lilac #CEA2FD ΔE 0.031
- Pale Violet #CEAEFA ΔE 0.036
- Pastel Purple #CAA0FF ΔE 0.040
- Baby Purple #CA9BF7 ΔE 0.041
- Light Violet #D6B4FC ΔE 0.043
- Lavender Pink #DD85D7 ΔE 0.069
- Violet #EE82EE ΔE 0.073
Use #DFA2F1 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.