#DEC7F2#DEC7F2
#DEC7F2 is a very light, moderate violet. Relative luminance 0.628; OKLCH L 86.2% C 0.063 H 309.1°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #DEC7F2 |
|---|---|
| RGB | rgb(222, 199, 242) |
| HSL | hsl(272, 62%, 86%) |
| HSV | hsv(272, 18%, 95%) |
| CMYK | cmyk(8.3%, 17.8%, 0%, 5.1%) |
| CIE-LAB | lab(83.33, 15.89, -18.23) |
| CIE-LCH | lch(83.33, 24.18, 311.08°) |
| OKLab | oklab(86.24% 0.0401 -0.0492) |
| OKLCH | oklch(86.24% 0.063 309.1) |
| XYZ | xyz(66.5718, 62.7876, 92.5993) |
| Luminance | 0.6279 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Lilac
#E4CBFF
ΔE00 2.56
Pale Lavender
#EECFFE
ΔE00 3.10
Light Lavender
#DFC5FE
ΔE00 3.48
Light Lilac
#EDC8FF
ΔE00 3.98
Very Light Purple
#F6CEFC
ΔE00 4.83
Light Lavendar
#EFC0FE
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEC7F2 #DBF2C7
analogous
#C9C7F2 #DEC7F2 #F2C7F1
triadic
#DEC7F2 #F2DEC7 #C7F2DE
tetradic
#DEC7F2 #F2C9C7 #DBF2C7 #C7F1F2
square
#DEC7F2 #F2C9C7 #DBF2C7 #C7F1F2
split-complementary
#DEC7F2 #F1F2C7 #C7F2C9
monochromatic
#A364DB #C195E6 #DEC7F2 #F0E6F9 #F0E6F9
Accessibility & contrast
On white
1.55
#DEC7F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.56
#DEC7F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEC7F2
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEC7F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEC7F2 | 1.00 | 1.55 | 13.56 | 13.56 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1CFF4
Deuteranopia (green-blind)
#C5D0F1
Tritanopia (blue-blind)
#DCCCD5
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #dec7f2; /* rgb */ color: rgb(222, 199, 242); /* oklch */ color: oklch(86.2% 0.063 309.1);
Tailwind
colors: {
custom: {
50: '#e8d8f6',
500: '#dec7f2',
950: '#000000',
},
}SCSS
$custom: #dec7f2; $custom-light: #e8d8f6; $custom-dark: #000000;
JSON
{
"hex": "#dec7f2",
"rgb": {
"r": 222,
"g": 199,
"b": 242
},
"hsl": {
"h": 272.093,
"s": 62.319,
"l": 86.471
},
"oklch": {
"l": 0.86237,
"c": 0.06349,
"h": 309.1
},
"luminance": 0.62787
}Semantic roles & 50–950 ramp
primary
#DEC7F2
secondary
#ACD28C
accent
#CA1B6D
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#161417
muted
#848385