#C336C4#C336C4
#C336C4 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.8% C 0.233 H 327.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #C336C4 |
|---|---|
| RGB | rgb(195, 54, 196) |
| HSL | hsl(300, 57%, 49%) |
| HSV | hsv(300, 72%, 77%) |
| CMYK | cmyk(0.5%, 72.4%, 0%, 23.1%) |
| CIE-LAB | lab(49.77, 70.70, -44.86) |
| CIE-LCH | lch(49.77, 83.73, 327.60°) |
| OKLab | oklab(59.77% 0.1968 -0.1244) |
| OKLCH | oklch(59.77% 0.233 327.7) |
| XYZ | xyz(33.7882, 18.2284, 53.9527) |
| Luminance | 0.1823 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.74
Purple Pink
#D725DE
ΔE00 4.45
Pinky Purple
#C94CBE
ΔE00 4.57
Mediumorchid
#BA55D3
ΔE00 5.62
Pinkish Purple
#D648D7
ΔE00 6.02
Barney
#AC1DB8
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C336C4 #37C436
analogous
#7C36C4 #C336C4 #C4367E
triadic
#C336C4 #C4C336 #36C4C3
tetradic
#C336C4 #C47C36 #37C436 #367EC4
square
#C336C4 #C47C36 #37C436 #367EC4
split-complementary
#C336C4 #7EC436 #36C47C
monochromatic
#641C64 #932994 #C336C4 #D363D4 #E193E1
Accessibility & contrast
On white
4.52
#C336C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#C336C4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C336C4
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C336C4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C336C4 | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#176BC8
Deuteranopia (green-blind)
#5C7DC0
Tritanopia (blue-blind)
#C94C7A
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #c336c4; /* rgb */ color: rgb(195, 54, 196); /* oklch */ color: oklch(59.8% 0.233 327.7);
Tailwind
colors: {
custom: {
50: '#d97bd6',
500: '#c336c4',
950: '#000000',
},
}SCSS
$custom: #c336c4; $custom-light: #d97bd6; $custom-dark: #000000;
JSON
{
"hex": "#c336c4",
"rgb": {
"r": 195,
"g": 54,
"b": 196
},
"hsl": {
"h": 299.577,
"s": 56.8,
"l": 49.02
},
"oklch": {
"l": 0.59767,
"c": 0.23279,
"h": 327.7
},
"luminance": 0.18226
}Semantic roles & 50–950 ramp
primary
#C336C4
secondary
#8ACC89
accent
#E04849
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83