#C8B2EC#C8B2EC
#C8B2EC is a light, moderate violet. Relative luminance 0.502; OKLCH L 80.2% C 0.084 H 301.9°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).
Color values
| HEX | #C8B2EC |
|---|---|
| RGB | rgb(200, 178, 236) |
| HSL | hsl(263, 60%, 81%) |
| HSV | hsv(263, 25%, 93%) |
| CMYK | cmyk(15.3%, 24.6%, 0%, 7.5%) |
| CIE-LAB | lab(76.18, 19.03, -26.04) |
| CIE-LCH | lch(76.18, 32.26, 306.15°) |
| OKLab | oklab(80.2% 0.0443 -0.0712) |
| OKLCH | oklch(80.2% 0.084 301.9) |
| XYZ | xyz(54.8771, 50.1763, 86.1345) |
| Luminance | 0.5018 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 3.60
Pale Violet
#CEAEFA
ΔE00 3.74
Light Lavender
#DFC5FE
ΔE00 5.09
Lavender
#B39DDB
ΔE00 5.81
Mauve
#E0B0FF
ΔE00 5.90
Lavender (survey)
#C79FEF
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8B2EC #D6ECB2
analogous
#B2B9EC #C8B2EC #E5B2EC
triadic
#C8B2EC #ECC8B2 #B2ECC8
tetradic
#C8B2EC #ECB2B9 #D6ECB2 #B2ECE5
square
#C8B2EC #ECB2B9 #D6ECB2 #B2ECE5
split-complementary
#C8B2EC #ECE5B2 #B9ECB2
monochromatic
#8250D4 #A581E0 #C8B2EC #EBE3F8 #EDE6F9
Accessibility & contrast
On white
1.90
#C8B2EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.04
#C8B2EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8B2EC
11.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8B2EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8B2EC | 1.00 | 1.90 | 11.04 | 11.04 |
| #FFFFFF | 1.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A7BBEE
Deuteranopia (green-blind)
#AABCEA
Tritanopia (blue-blind)
#C2BAC6
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #c8b2ec; /* rgb */ color: rgb(200, 178, 236); /* oklch */ color: oklch(80.2% 0.084 301.9);
Tailwind
colors: {
custom: {
50: '#d9c9f2',
500: '#c8b2ec',
950: '#000000',
},
}SCSS
$custom: #c8b2ec; $custom-light: #d9c9f2; $custom-dark: #000000;
JSON
{
"hex": "#c8b2ec",
"rgb": {
"r": 200,
"g": 178,
"b": 236
},
"hsl": {
"h": 262.759,
"s": 60.417,
"l": 81.176
},
"oklch": {
"l": 0.80196,
"c": 0.08386,
"h": 301.9
},
"luminance": 0.50176
}Semantic roles & 50–950 ramp
primary
#C8B2EC
secondary
#ABC979
accent
#C81D87
background
#FEFDFF
surface
#FBF9FE
border
#D4D2D6
text
#141317
muted
#838285