#DFA2FE#DFA2FE
#DFA2FE is a light, vivid violet. Relative luminance 0.487; OKLCH L 80.2% C 0.141 H 313.8°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #DFA2FE |
|---|---|
| RGB | rgb(223, 162, 254) |
| HSL | hsl(280, 98%, 82%) |
| HSV | hsv(280, 36%, 100%) |
| CMYK | cmyk(12.2%, 36.2%, 0%, 0.4%) |
| CIE-LAB | lab(75.26, 38.51, -37.02) |
| CIE-LCH | lch(75.26, 53.41, 316.13°) |
| OKLab | oklab(80.21% 0.0976 -0.1019) |
| OKLCH | oklch(80.21% 0.141 313.8) |
| XYZ | xyz(61.2383, 48.6856, 99.9180) |
| Luminance | 0.4868 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 3.48
Mauve
#E0B0FF
ΔE00 3.55
Baby Purple
#CA9BF7
ΔE00 3.97
Pastel Purple
#CAA0FF
ΔE00 4.44
Lavender (survey)
#C79FEF
ΔE00 4.47
Pale Violet
#CEAEFA
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFA2FE #C1FEA2
analogous
#B1A2FE #DFA2FE #FEA2EF
triadic
#DFA2FE #FEDFA2 #A2FEDF
tetradic
#DFA2FE #FEB1A2 #C1FEA2 #A2EFFE
square
#DFA2FE #FEB1A2 #C1FEA2 #A2EFFE
split-complementary
#DFA2FE #EFFEA2 #A2FEB1
monochromatic
#B529FD #CA65FD #DFA2FE #F4DFFF #F5E1FF
Accessibility & contrast
On white
1.96
#DFA2FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.74
#DFA2FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFA2FE
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFA2FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFA2FE | 1.00 | 1.96 | 10.74 | 10.74 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93B6FF
Deuteranopia (green-blind)
#A1BBFB
Tritanopia (blue-blind)
#DDAEC4
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #dfa2fe; /* rgb */ color: rgb(223, 162, 254); /* oklch */ color: oklch(80.2% 0.141 313.8);
Tailwind
colors: {
custom: {
50: '#eabeff',
500: '#dfa2fe',
950: '#000000',
},
}SCSS
$custom: #dfa2fe; $custom-light: #eabeff; $custom-dark: #000000;
JSON
{
"hex": "#dfa2fe",
"rgb": {
"r": 223,
"g": 162,
"b": 254
},
"hsl": {
"h": 279.783,
"s": 97.872,
"l": 81.569
},
"oklch": {
"l": 0.8021,
"c": 0.14109,
"h": 313.8
},
"luminance": 0.48684
}Semantic roles & 50–950 ramp
primary
#DFA2FE
secondary
#E0F7D4
accent
#E6004D
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161218
muted
#848186