#C366E1#C366E1
#C366E1 is a light, vivid purple. Relative luminance 0.265; OKLCH L 66.6% C 0.195 H 317.3°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #C366E1 |
|---|---|
| RGB | rgb(195, 102, 225) |
| HSL | hsl(285, 67%, 64%) |
| HSV | hsv(285, 55%, 88%) |
| CMYK | cmyk(13.3%, 54.7%, 0%, 11.8%) |
| CIE-LAB | lab(58.55, 55.99, -47.46) |
| CIE-LCH | lch(58.55, 73.40, 319.71°) |
| OKLab | oklab(66.63% 0.1432 -0.1322) |
| OKLCH | oklch(66.63% 0.195 317.3) |
| XYZ | xyz(40.8457, 26.5425, 74.1912) |
| Luminance | 0.2654 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 3.92
Bright Lavender
#C760FF
ΔE00 4.44
Mediumorchid
#BA55D3
ΔE00 4.69
Heliotrope
#D94FF5
ΔE00 4.71
Light Purple
#BF77F6
ΔE00 5.12
Easter Purple
#C071FE
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C366E1 #84E166
analogous
#8666E1 #C366E1 #E166C2
triadic
#C366E1 #E1C366 #66E1C3
tetradic
#C366E1 #E18666 #84E166 #66C2E1
square
#C366E1 #E18666 #84E166 #66C2E1
split-complementary
#C366E1 #C2E166 #66E186
monochromatic
#8A22AB #AF33D7 #C366E1 #D799EB #EBCCF5
Accessibility & contrast
On white
3.33
#C366E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#C366E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C366E1
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C366E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C366E1 | 1.00 | 3.33 | 6.31 | 6.31 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A87E5
Deuteranopia (green-blind)
#6A90DE
Tritanopia (blue-blind)
#C2799A
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #c366e1; /* rgb */ color: rgb(195, 102, 225); /* oklch */ color: oklch(66.6% 0.195 317.3);
Tailwind
colors: {
custom: {
50: '#d895eb',
500: '#c366e1',
950: '#000000',
},
}SCSS
$custom: #c366e1; $custom-light: #d895eb; $custom-dark: #000000;
JSON
{
"hex": "#c366e1",
"rgb": {
"r": 195,
"g": 102,
"b": 225
},
"hsl": {
"h": 285.366,
"s": 67.213,
"l": 64.118
},
"oklch": {
"l": 0.66626,
"c": 0.19495,
"h": 317.3
},
"luminance": 0.26541
}Semantic roles & 50–950 ramp
primary
#C366E1
secondary
#C6E7BC
accent
#CF1643
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84