#CFB2EC#CFB2EC
#CFB2EC is a light, moderate violet. Relative luminance 0.512; OKLCH L 80.8% C 0.086 H 307.3°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB2EC |
|---|---|
| RGB | rgb(207, 178, 236) |
| HSL | hsl(270, 60%, 81%) |
| HSV | hsv(270, 25%, 93%) |
| CMYK | cmyk(12.3%, 24.6%, 0%, 7.5%) |
| CIE-LAB | lab(76.78, 21.23, -25.07) |
| CIE-LCH | lch(76.78, 32.85, 310.25°) |
| OKLab | oklab(80.8% 0.052 -0.0684) |
| OKLCH | oklch(80.8% 0.086 307.3) |
| XYZ | xyz(56.7901, 51.1626, 86.2242) |
| Luminance | 0.5116 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 3.12
Pale Violet
#CEAEFA
ΔE00 3.89
Light Lavender
#DFC5FE
ΔE00 4.60
Mauve
#E0B0FF
ΔE00 4.84
Lavender (survey)
#C79FEF
ΔE00 5.96
Light Lavendar
#EFC0FE
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB2EC #CFECB2
analogous
#B2B2EC #CFB2EC #ECB2EC
triadic
#CFB2EC #ECCFB2 #B2ECCF
tetradic
#CFB2EC #ECB2B2 #CFECB2 #B2ECEC
square
#CFB2EC #ECB2B2 #CFECB2 #B2ECEC
split-complementary
#CFB2EC #ECECB2 #B2ECB2
monochromatic
#9250D4 #B081E0 #CFB2EC #EEE3F8 #F0E6F9
Accessibility & contrast
On white
1.87
#CFB2EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.23
#CFB2EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB2EC
11.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB2EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB2EC | 1.00 | 1.87 | 11.23 | 11.23 |
| #FFFFFF | 1.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A8BCEE
Deuteranopia (green-blind)
#AEBEEA
Tritanopia (blue-blind)
#CBBAC6
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #cfb2ec; /* rgb */ color: rgb(207, 178, 236); /* oklch */ color: oklch(80.8% 0.086 307.3);
Tailwind
colors: {
custom: {
50: '#dec9f2',
500: '#cfb2ec',
950: '#000000',
},
}SCSS
$custom: #cfb2ec; $custom-light: #dec9f2; $custom-dark: #000000;
JSON
{
"hex": "#cfb2ec",
"rgb": {
"r": 207,
"g": 178,
"b": 236
},
"hsl": {
"h": 270,
"s": 60.417,
"l": 81.176
},
"oklch": {
"l": 0.80802,
"c": 0.08592,
"h": 307.3
},
"luminance": 0.51162
}Semantic roles & 50–950 ramp
primary
#CFB2EC
secondary
#A1C979
accent
#C81D73
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285