#C396FE#C396FE
#C396FE is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.5% C 0.151 H 302.9°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #C396FE |
|---|---|
| RGB | rgb(195, 150, 254) |
| HSL | hsl(266, 98%, 79%) |
| HSV | hsv(266, 41%, 100%) |
| CMYK | cmyk(23.2%, 40.9%, 0%, 0.4%) |
| CIE-LAB | lab(69.87, 36.94, -45.62) |
| CIE-LCH | lch(69.87, 58.70, 309.00°) |
| OKLab | oklab(75.52% 0.0822 -0.1271) |
| OKLCH | oklch(75.52% 0.151 302.9) |
| XYZ | xyz(51.2976, 40.5706, 98.8751) |
| Luminance | 0.4057 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.08
Baby Purple
#CA9BF7
ΔE00 2.67
Pastel Purple
#CAA0FF
ΔE00 2.71
Lilac (survey)
#CEA2FD
ΔE00 3.67
Lavender (survey)
#C79FEF
ΔE00 4.38
Pale Violet
#CEAEFA
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C396FE #D1FE96
analogous
#969DFE #C396FE #F796FE
triadic
#C396FE #FEC396 #96FEC3
tetradic
#C396FE #FE969D #D1FE96 #96FEF7
square
#C396FE #FE969D #D1FE96 #96FEF7
split-complementary
#C396FE #FEF796 #9DFE96
monochromatic
#7E1DFD #A059FD #C396FE #E6D3FF #EEE1FF
Accessibility & contrast
On white
2.30
#C396FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.11
#C396FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C396FE
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C396FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C396FE | 1.00 | 2.30 | 9.11 | 9.11 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#86ABFB
Tritanopia (blue-blind)
#B9A7BE
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c396fe; /* rgb */ color: rgb(195, 150, 254); /* oklch */ color: oklch(75.5% 0.151 302.9);
Tailwind
colors: {
custom: {
50: '#d7b5ff',
500: '#c396fe',
950: '#000000',
},
}SCSS
$custom: #c396fe; $custom-light: #d7b5ff; $custom-dark: #000000;
JSON
{
"hex": "#c396fe",
"rgb": {
"r": 195,
"g": 150,
"b": 254
},
"hsl": {
"h": 265.962,
"s": 98.113,
"l": 79.216
},
"oklch": {
"l": 0.75516,
"c": 0.15138,
"h": 302.9
},
"luminance": 0.40571
}Semantic roles & 50–950 ramp
primary
#C396FE
secondary
#E8F7D4
accent
#E60082
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#151118
muted
#838086