#DED7F2#DED7F2
#DED7F2 is a very light, muted violet. Relative luminance 0.705; OKLCH L 89.3% C 0.037 H 297.5°. Best body text is #000000 at 15.11:1 contrast (WCAG AA passes).
Color values
| HEX | #DED7F2 |
|---|---|
| RGB | rgb(222, 215, 242) |
| HSL | hsl(256, 51%, 90%) |
| HSV | hsv(256, 11%, 95%) |
| CMYK | cmyk(8.3%, 11.2%, 0%, 5.1%) |
| CIE-LAB | lab(87.26, 7.40, -12.33) |
| CIE-LCH | lch(87.26, 14.38, 300.99°) |
| OKLab | oklab(89.3% 0.0173 -0.0331) |
| OKLCH | oklch(89.3% 0.037 297.5) |
| XYZ | xyz(70.4486, 70.5411, 93.8916) |
| Luminance | 0.7054 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (CSS)
#E6E6FA
ΔE00 4.99
Periwinkle
#CCCCFF
ΔE00 7.86
Thistle
#D8BFD8
ΔE00 7.88
Pale Lilac
#E4CBFF
ΔE00 8.30
Pale Lavender
#EECFFE
ΔE00 8.47
Light Lavender
#DFC5FE
ΔE00 9.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DED7F2 #EBF2D7
analogous
#D7DEF2 #DED7F2 #ECD7F2
triadic
#DED7F2 #F2DED7 #D7F2DE
tetradic
#DED7F2 #F2D7DE #EBF2D7 #D7F2EC
square
#DED7F2 #F2D7DE #EBF2D7 #D7F2EC
split-complementary
#DED7F2 #F2ECD7 #DEF2D7
monochromatic
#927BD4 #B8A9E3 #DED7F2 #ECE8F7 #ECE8F7
Accessibility & contrast
On white
1.39
#DED7F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.11
#DED7F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DED7F2
15.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DED7F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DED7F2 | 1.00 | 1.39 | 15.11 | 15.11 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2DBF3
Deuteranopia (green-blind)
#D3DAF1
Tritanopia (blue-blind)
#DBDBE0
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #ded7f2; /* rgb */ color: rgb(222, 215, 242); /* oklch */ color: oklch(89.3% 0.037 297.5);
Tailwind
colors: {
custom: {
50: '#e8e3f6',
500: '#ded7f2',
950: '#000000',
},
}SCSS
$custom: #ded7f2; $custom-light: #e8e3f6; $custom-dark: #000000;
JSON
{
"hex": "#ded7f2",
"rgb": {
"r": 222,
"g": 215,
"b": 242
},
"hsl": {
"h": 255.556,
"s": 50.943,
"l": 89.608
},
"oklch": {
"l": 0.89295,
"c": 0.03736,
"h": 297.5
},
"luminance": 0.70541
}Semantic roles & 50–950 ramp
primary
#DED7F2
secondary
#C3D09D
accent
#BE2797
background
#FEFEFF
surface
#FCFCFE
border
#D5D5D6
text
#161517
muted
#848485