#DDA2FE#DDA2FE
#DDA2FE is a light, vivid violet. Relative luminance 0.484; OKLCH L 80.0% C 0.140 H 312.8°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #DDA2FE |
|---|---|
| RGB | rgb(221, 162, 254) |
| HSL | hsl(278, 98%, 82%) |
| HSV | hsv(278, 36%, 100%) |
| CMYK | cmyk(13%, 36.2%, 0%, 0.4%) |
| CIE-LAB | lab(75.06, 37.91, -37.34) |
| CIE-LCH | lch(75.06, 53.21, 315.44°) |
| OKLab | oklab(80.02% 0.0953 -0.1028) |
| OKLCH | oklch(80.02% 0.14 312.8) |
| XYZ | xyz(60.6255, 48.3696, 99.8893) |
| Luminance | 0.4837 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 3.08
Mauve
#E0B0FF
ΔE00 3.54
Baby Purple
#CA9BF7
ΔE00 3.61
Pastel Purple
#CAA0FF
ΔE00 4.04
Lavender (survey)
#C79FEF
ΔE00 4.14
Pale Violet
#CEAEFA
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DDA2FE #C3FEA2
analogous
#AFA2FE #DDA2FE #FEA2F1
triadic
#DDA2FE #FEDDA2 #A2FEDD
tetradic
#DDA2FE #FEAFA2 #C3FEA2 #A2F1FE
square
#DDA2FE #FEAFA2 #C3FEA2 #A2F1FE
split-complementary
#DDA2FE #F1FEA2 #A2FEAF
monochromatic
#B129FD #C765FD #DDA2FE #F3DFFF #F4E1FF
Accessibility & contrast
On white
1.97
#DDA2FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.67
#DDA2FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DDA2FE
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DDA2FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DDA2FE | 1.00 | 1.97 | 10.67 | 10.67 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92B6FF
Deuteranopia (green-blind)
#A0BAFB
Tritanopia (blue-blind)
#DAAEC4
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #dda2fe; /* rgb */ color: rgb(221, 162, 254); /* oklch */ color: oklch(80.0% 0.140 312.8);
Tailwind
colors: {
custom: {
50: '#e9beff',
500: '#dda2fe',
950: '#000000',
},
}SCSS
$custom: #dda2fe; $custom-light: #e9beff; $custom-dark: #000000;
JSON
{
"hex": "#dda2fe",
"rgb": {
"r": 221,
"g": 162,
"b": 254
},
"hsl": {
"h": 278.478,
"s": 97.872,
"l": 81.569
},
"oklch": {
"l": 0.80015,
"c": 0.14023,
"h": 312.8
},
"luminance": 0.48369
}Semantic roles & 50–950 ramp
primary
#DDA2FE
secondary
#E1F7D4
accent
#E60052
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161218
muted
#848186