#DED2FF#DED2FF
#DED2FF is a very light, moderate violet. Relative luminance 0.688; OKLCH L 88.8% C 0.062 H 297.3°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).
Color values
| HEX | #DED2FF |
|---|---|
| RGB | rgb(222, 210, 255) |
| HSL | hsl(256, 100%, 91%) |
| HSV | hsv(256, 18%, 100%) |
| CMYK | cmyk(12.9%, 17.6%, 0%, 0%) |
| CIE-LAB | lab(86.43, 12.64, -20.45) |
| CIE-LCH | lch(86.43, 24.04, 301.73°) |
| OKLab | oklab(88.78% 0.0287 -0.0555) |
| OKLCH | oklch(88.78% 0.062 297.3) |
| XYZ | xyz(71.2171, 68.8425, 104.1244) |
| Luminance | 0.6884 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Lilac
#E4CBFF
ΔE00 3.61
Light Lavender
#DFC5FE
ΔE00 4.57
Periwinkle
#CCCCFF
ΔE00 4.72
Pale Lavender
#EECFFE
ΔE00 5.09
Light Lilac
#EDC8FF
ΔE00 6.23
Light Periwinkle
#C1C6FC
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DED2FF #F3FFD2
analogous
#D2DCFF #DED2FF #F4D2FF
triadic
#DED2FF #FFDED2 #D2FFDE
tetradic
#DED2FF #FFD2DC #F3FFD2 #D2FFF4
square
#DED2FF #FFD2DC #F3FFD2 #D2FFF4
split-complementary
#DED2FF #FFF4D2 #DCFFD2
monochromatic
#8458FF #B195FF #DED2FF #E9E0FF #E9E0FF
Accessibility & contrast
On white
1.42
#DED2FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.77
#DED2FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DED2FF
14.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DED2FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DED2FF | 1.00 | 1.42 | 14.77 | 14.77 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9D8FF
Deuteranopia (green-blind)
#CBD8FE
Tritanopia (blue-blind)
#D8D8E1
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #ded2ff; /* rgb */ color: rgb(222, 210, 255); /* oklch */ color: oklch(88.8% 0.062 297.3);
Tailwind
colors: {
custom: {
50: '#e8dfff',
500: '#ded2ff',
950: '#000000',
},
}SCSS
$custom: #ded2ff; $custom-light: #e8dfff; $custom-dark: #000000;
JSON
{
"hex": "#ded2ff",
"rgb": {
"r": 222,
"g": 210,
"b": 255
},
"hsl": {
"h": 256,
"s": 100,
"l": 91.176
},
"oklch": {
"l": 0.88776,
"c": 0.06245,
"h": 297.3
},
"luminance": 0.68843
}Semantic roles & 50–950 ramp
primary
#DED2FF
secondary
#D1EA8B
accent
#E600A8
background
#FEFEFF
surface
#FCFCFF
border
#D5D5D7
text
#161518
muted
#848486