#DEC1F2#DEC1F2
#DEC1F2 is a very light, moderate violet. Relative luminance 0.601; OKLCH L 85.1% C 0.074 H 311.4°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).
Color values
| HEX | #DEC1F2 |
|---|---|
| RGB | rgb(222, 193, 242) |
| HSL | hsl(276, 65%, 85%) |
| HSV | hsv(276, 20%, 95%) |
| CMYK | cmyk(8.3%, 20.2%, 0%, 5.1%) |
| CIE-LAB | lab(81.88, 19.10, -20.42) |
| CIE-LCH | lch(81.88, 27.96, 313.10°) |
| OKLab | oklab(85.12% 0.0487 -0.0553) |
| OKLCH | oklch(85.12% 0.074 311.4) |
| XYZ | xyz(65.2185, 60.0809, 92.1482) |
| Luminance | 0.6008 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Lavender
#DFC5FE
ΔE00 2.60
Pale Lilac
#E4CBFF
ΔE00 2.67
Light Lilac
#EDC8FF
ΔE00 2.94
Pale Lavender
#EECFFE
ΔE00 3.49
Light Lavendar
#EFC0FE
ΔE00 4.21
Very Light Purple
#F6CEFC
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEC1F2 #D5F2C1
analogous
#C5C1F2 #DEC1F2 #F2C1ED
triadic
#DEC1F2 #F2DEC1 #C1F2DE
tetradic
#DEC1F2 #F2C5C1 #D5F2C1 #C1EDF2
square
#DEC1F2 #F2C5C1 #D5F2C1 #C1EDF2
split-complementary
#DEC1F2 #EDF2C1 #C1F2C5
monochromatic
#A85CDD #C38EE7 #DEC1F2 #F2E6FA #F2E6FA
Accessibility & contrast
On white
1.61
#DEC1F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.02
#DEC1F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEC1F2
13.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEC1F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEC1F2 | 1.00 | 1.61 | 13.02 | 13.02 |
| #FFFFFF | 1.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BACAF4
Deuteranopia (green-blind)
#C0CCF0
Tritanopia (blue-blind)
#DCC7D2
Achromatopsia (no color)
#CCCCCC
Design tokens & code
CSS
--color: #dec1f2; /* rgb */ color: rgb(222, 193, 242); /* oklch */ color: oklch(85.1% 0.074 311.4);
Tailwind
colors: {
custom: {
50: '#e8d3f6',
500: '#dec1f2',
950: '#000000',
},
}SCSS
$custom: #dec1f2; $custom-light: #e8d3f6; $custom-dark: #000000;
JSON
{
"hex": "#dec1f2",
"rgb": {
"r": 222,
"g": 193,
"b": 242
},
"hsl": {
"h": 275.51,
"s": 65.333,
"l": 85.294
},
"oklch": {
"l": 0.85116,
"c": 0.07367,
"h": 311.4
},
"luminance": 0.6008
}Semantic roles & 50–950 ramp
primary
#DEC1F2
secondary
#A5D285
accent
#CD1862
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#161417
muted
#848385