#DEC8F2#DEC8F2
#DEC8F2 is a very light, moderate violet. Relative luminance 0.632; OKLCH L 86.4% C 0.062 H 308.7°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #DEC8F2 |
|---|---|
| RGB | rgb(222, 200, 242) |
| HSL | hsl(271, 62%, 87%) |
| HSV | hsv(271, 17%, 95%) |
| CMYK | cmyk(8.3%, 17.4%, 0%, 5.1%) |
| CIE-LAB | lab(83.57, 15.36, -17.86) |
| CIE-LCH | lch(83.57, 23.55, 310.69°) |
| OKLab | oklab(86.43% 0.0386 -0.0482) |
| OKLCH | oklch(86.43% 0.062 308.7) |
| XYZ | xyz(66.8027, 63.2493, 92.6763) |
| Luminance | 0.6325 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Lilac
#E4CBFF
ΔE00 2.73
Pale Lavender
#EECFFE
ΔE00 3.20
Light Lavender
#DFC5FE
ΔE00 3.74
Light Lilac
#EDC8FF
ΔE00 4.26
Very Light Purple
#F6CEFC
ΔE00 4.96
Thistle
#D8BFD8
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEC8F2 #DCF2C8
analogous
#C9C8F2 #DEC8F2 #F2C8F1
triadic
#DEC8F2 #F2DEC8 #C8F2DE
tetradic
#DEC8F2 #F2C9C8 #DCF2C8 #C8F1F2
square
#DEC8F2 #F2C9C8 #DCF2C8 #C8F1F2
split-complementary
#DEC8F2 #F1F2C8 #C8F2C9
monochromatic
#A365DB #C097E6 #DEC8F2 #F0E6F9 #F0E6F9
Accessibility & contrast
On white
1.54
#DEC8F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.65
#DEC8F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEC8F2
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEC8F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEC8F2 | 1.00 | 1.54 | 13.65 | 13.65 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2CFF4
Deuteranopia (green-blind)
#C6D1F1
Tritanopia (blue-blind)
#DCCDD6
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #dec8f2; /* rgb */ color: rgb(222, 200, 242); /* oklch */ color: oklch(86.4% 0.062 308.7);
Tailwind
colors: {
custom: {
50: '#e8d8f6',
500: '#dec8f2',
950: '#000000',
},
}SCSS
$custom: #dec8f2; $custom-light: #e8d8f6; $custom-dark: #000000;
JSON
{
"hex": "#dec8f2",
"rgb": {
"r": 222,
"g": 200,
"b": 242
},
"hsl": {
"h": 271.429,
"s": 61.765,
"l": 86.667
},
"oklch": {
"l": 0.86425,
"c": 0.06179,
"h": 308.7
},
"luminance": 0.63249
}Semantic roles & 50–950 ramp
primary
#DEC8F2
secondary
#ADD28D
accent
#C91C6F
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#161417
muted
#848385