#DFA2FF#DFA2FF
#DFA2FF is a light, vivid violet. Relative luminance 0.487; OKLCH L 80.3% C 0.142 H 313.5°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).
Color values
| HEX | #DFA2FF |
|---|---|
| RGB | rgb(223, 162, 255) |
| HSL | hsl(279, 100%, 82%) |
| HSV | hsv(279, 36%, 100%) |
| CMYK | cmyk(12.5%, 36.5%, 0%, 0%) |
| CIE-LAB | lab(75.30, 38.71, -37.49) |
| CIE-LCH | lch(75.30, 53.89, 315.92°) |
| OKLab | oklab(80.25% 0.0978 -0.1032) |
| OKLCH | oklch(80.25% 0.142 313.5) |
| XYZ | xyz(61.3988, 48.7498, 100.7636) |
| Luminance | 0.4875 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 3.41
Mauve
#E0B0FF
ΔE00 3.61
Baby Purple
#CA9BF7
ΔE00 3.92
Pastel Purple
#CAA0FF
ΔE00 4.34
Lavender (survey)
#C79FEF
ΔE00 4.50
Pale Violet
#CEAEFA
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFA2FF #C2FFA2
analogous
#B1A2FF #DFA2FF #FFA2F0
triadic
#DFA2FF #FFDFA2 #A2FFDF
tetradic
#DFA2FF #FFB1A2 #C2FFA2 #A2F0FF
square
#DFA2FF #FFB1A2 #C2FFA2 #A2F0FF
split-complementary
#DFA2FF #F0FFA2 #A2FFB1
monochromatic
#B528FF #CA65FF #DFA2FF #F4DFFF #F4E0FF
Accessibility & contrast
On white
1.95
#DFA2FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.75
#DFA2FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFA2FF
10.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFA2FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFA2FF | 1.00 | 1.95 | 10.75 | 10.75 |
| #FFFFFF | 1.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92B6FF
Deuteranopia (green-blind)
#A1BBFC
Tritanopia (blue-blind)
#DDAFC5
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #dfa2ff; /* rgb */ color: rgb(223, 162, 255); /* oklch */ color: oklch(80.3% 0.142 313.5);
Tailwind
colors: {
custom: {
50: '#eabeff',
500: '#dfa2ff',
950: '#000000',
},
}SCSS
$custom: #dfa2ff; $custom-light: #eabeff; $custom-dark: #000000;
JSON
{
"hex": "#dfa2ff",
"rgb": {
"r": 223,
"g": 162,
"b": 255
},
"hsl": {
"h": 279.355,
"s": 100,
"l": 81.765
},
"oklch": {
"l": 0.80254,
"c": 0.14224,
"h": 313.5
},
"luminance": 0.48749
}Semantic roles & 50–950 ramp
primary
#DFA2FF
secondary
#E0F7D4
accent
#E6004F
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161218
muted
#848186