#DED8F2#DED8F2
#DED8F2 is a very light, muted violet. Relative luminance 0.711; OKLCH L 89.5% C 0.036 H 296.2°. Best body text is #000000 at 15.21:1 contrast (WCAG AA passes).
Color values
| HEX | #DED8F2 |
|---|---|
| RGB | rgb(222, 216, 242) |
| HSL | hsl(254, 50%, 90%) |
| HSV | hsv(254, 11%, 95%) |
| CMYK | cmyk(8.3%, 10.7%, 0%, 5.1%) |
| CIE-LAB | lab(87.51, 6.88, -11.96) |
| CIE-LCH | lch(87.51, 13.79, 299.91°) |
| OKLab | oklab(89.49% 0.0158 -0.0321) |
| OKLCH | oklch(89.49% 0.036 296.2) |
| XYZ | xyz(70.7040, 71.0520, 93.9767) |
| Luminance | 0.7105 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (CSS)
#E6E6FA
ΔE00 4.47
Periwinkle
#CCCCFF
ΔE00 8.07
Thistle
#D8BFD8
ΔE00 8.28
Pale Lilac
#E4CBFF
ΔE00 8.79
Pale Lavender
#EECFFE
ΔE00 8.97
Light Lavender
#DFC5FE
ΔE00 9.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DED8F2 #ECF2D8
analogous
#D8DFF2 #DED8F2 #EBD8F2
triadic
#DED8F2 #F2DED8 #D8F2DE
tetradic
#DED8F2 #F2D8DF #ECF2D8 #D8F2EB
square
#DED8F2 #F2D8DF #ECF2D8 #D8F2EB
split-complementary
#DED8F2 #F2EBD8 #DFF2D8
monochromatic
#907CD3 #B7AAE3 #DED8F2 #ECE8F7 #ECE8F7
Accessibility & contrast
On white
1.38
#DED8F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.21
#DED8F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DED8F2
15.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DED8F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DED8F2 | 1.00 | 1.38 | 15.21 | 15.21 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3DBF3
Deuteranopia (green-blind)
#D4DBF1
Tritanopia (blue-blind)
#DBDCE0
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #ded8f2; /* rgb */ color: rgb(222, 216, 242); /* oklch */ color: oklch(89.5% 0.036 296.2);
Tailwind
colors: {
custom: {
50: '#e8e4f6',
500: '#ded8f2',
950: '#000000',
},
}SCSS
$custom: #ded8f2; $custom-light: #e8e4f6; $custom-dark: #000000;
JSON
{
"hex": "#ded8f2",
"rgb": {
"r": 222,
"g": 216,
"b": 242
},
"hsl": {
"h": 253.846,
"s": 50,
"l": 89.804
},
"oklch": {
"l": 0.89489,
"c": 0.03582,
"h": 296.2
},
"luminance": 0.71052
}Semantic roles & 50–950 ramp
primary
#DED8F2
secondary
#C5D09E
accent
#BD289B
background
#FEFEFF
surface
#FCFCFE
border
#D5D5D6
text
#161517
muted
#848485