#CCC2EC#CCC2EC
#CCC2EC is a very light, muted violet. Relative luminance 0.575; OKLCH L 83.6% C 0.059 H 296.0°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #CCC2EC |
|---|---|
| RGB | rgb(204, 194, 236) |
| HSL | hsl(254, 53%, 84%) |
| HSV | hsv(254, 18%, 93%) |
| CMYK | cmyk(13.6%, 17.8%, 0%, 7.5%) |
| CIE-LAB | lab(80.45, 11.60, -19.52) |
| CIE-LCH | lch(80.45, 22.70, 300.72°) |
| OKLab | oklab(83.58% 0.0259 -0.053) |
| OKLCH | oklch(83.58% 0.059 296) |
| XYZ | xyz(59.3308, 57.4768, 87.3090) |
| Luminance | 0.5748 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle
#CCCCFF
ΔE00 4.77
Light Lavender
#DFC5FE
ΔE00 5.18
Pale Lilac
#E4CBFF
ΔE00 5.28
Light Periwinkle
#C1C6FC
ΔE00 6.14
Pale Lavender
#EECFFE
ΔE00 7.08
Thistle
#D8BFD8
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCC2EC #E2ECC2
analogous
#C2CDEC #CCC2EC #E1C2EC
triadic
#CCC2EC #ECCCC2 #C2ECCC
tetradic
#CCC2EC #ECC2CD #E2ECC2 #C2ECE1
square
#CCC2EC #ECC2CD #E2ECC2 #C2ECE1
split-complementary
#CCC2EC #ECE1C2 #CDECC2
monochromatic
#7E65CF #A593DD #CCC2EC #EBE8F8 #EBE8F8
Accessibility & contrast
On white
1.68
#CCC2EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.50
#CCC2EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCC2EC
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCC2EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCC2EC | 1.00 | 1.68 | 12.50 | 12.50 |
| #FFFFFF | 1.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9C8EE
Deuteranopia (green-blind)
#BBC7EB
Tritanopia (blue-blind)
#C6C8D0
Achromatopsia (no color)
#C8C8C8
Design tokens & code
CSS
--color: #ccc2ec; /* rgb */ color: rgb(204, 194, 236); /* oklch */ color: oklch(83.6% 0.059 296.0);
Tailwind
colors: {
custom: {
50: '#dbd4f2',
500: '#ccc2ec',
950: '#000000',
},
}SCSS
$custom: #ccc2ec; $custom-light: #dbd4f2; $custom-dark: #000000;
JSON
{
"hex": "#ccc2ec",
"rgb": {
"r": 204,
"g": 194,
"b": 236
},
"hsl": {
"h": 254.286,
"s": 52.5,
"l": 84.314
},
"oklch": {
"l": 0.83581,
"c": 0.05896,
"h": 296
},
"luminance": 0.57477
}Semantic roles & 50–950 ramp
primary
#CCC2EC
secondary
#BAC98A
accent
#C0269B
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#151416
muted
#848385