#DDA2FC#DDA2FC
#DDA2FC is a light, vivid violet. Relative luminance 0.482; OKLCH L 79.9% C 0.138 H 313.5°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).
Color values
| HEX | #DDA2FC |
|---|---|
| RGB | rgb(221, 162, 252) |
| HSL | hsl(279, 94%, 81%) |
| HSV | hsv(279, 36%, 99%) |
| CMYK | cmyk(12.3%, 35.7%, 0%, 1.2%) |
| CIE-LAB | lab(74.98, 37.50, -36.38) |
| CIE-LCH | lch(74.98, 52.25, 315.87°) |
| OKLab | oklab(79.93% 0.0949 -0.1001) |
| OKLCH | oklch(79.93% 0.138 313.5) |
| XYZ | xyz(60.3069, 48.2422, 98.2113) |
| Luminance | 0.4824 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 3.26
Mauve
#E0B0FF
ΔE00 3.44
Baby Purple
#CA9BF7
ΔE00 3.73
Lavender (survey)
#C79FEF
ΔE00 4.10
Pastel Purple
#CAA0FF
ΔE00 4.25
Pale Violet
#CEAEFA
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DDA2FC #C1FCA2
analogous
#B0A2FC #DDA2FC #FCA2EE
triadic
#DDA2FC #FCDDA2 #A2FCDD
tetradic
#DDA2FC #FCB0A2 #C1FCA2 #A2EEFC
square
#DDA2FC #FCB0A2 #C1FCA2 #A2EEFC
split-complementary
#DDA2FC #EEFCA2 #A2FCB0
monochromatic
#B22BF8 #C767FA #DDA2FC #F3DDFE #F4E1FE
Accessibility & contrast
On white
1.97
#DDA2FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.65
#DDA2FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DDA2FC
10.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DDA2FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DDA2FC | 1.00 | 1.97 | 10.65 | 10.65 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93B5FF
Deuteranopia (green-blind)
#A1BAF9
Tritanopia (blue-blind)
#DBAEC4
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #dda2fc; /* rgb */ color: rgb(221, 162, 252); /* oklch */ color: oklch(79.9% 0.138 313.5);
Tailwind
colors: {
custom: {
50: '#e8befd',
500: '#dda2fc',
950: '#000000',
},
}SCSS
$custom: #dda2fc; $custom-light: #e8befd; $custom-dark: #000000;
JSON
{
"hex": "#dda2fc",
"rgb": {
"r": 221,
"g": 162,
"b": 252
},
"hsl": {
"h": 279.333,
"s": 93.75,
"l": 81.176
},
"oklch": {
"l": 0.79928,
"c": 0.13794,
"h": 313.5
},
"luminance": 0.48241
}Semantic roles & 50–950 ramp
primary
#DDA2FC
secondary
#E0F6D5
accent
#E6004F
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185