#C336C5#C336C5
#C336C5 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.8% C 0.234 H 327.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #C336C5 |
|---|---|
| RGB | rgb(195, 54, 197) |
| HSL | hsl(299, 57%, 49%) |
| HSV | hsv(299, 73%, 77%) |
| CMYK | cmyk(1%, 72.6%, 0%, 22.7%) |
| CIE-LAB | lab(49.83, 70.86, -45.35) |
| CIE-LCH | lch(49.83, 84.13, 327.38°) |
| OKLab | oklab(59.82% 0.1968 -0.1258) |
| OKLCH | oklch(59.82% 0.234 327.4) |
| XYZ | xyz(33.9024, 18.2741, 54.5541) |
| Luminance | 0.1827 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.87
Purple Pink
#D725DE
ΔE00 4.34
Pinky Purple
#C94CBE
ΔE00 4.62
Mediumorchid
#BA55D3
ΔE00 5.53
Pinkish Purple
#D648D7
ΔE00 5.96
Hot Purple
#CB00F5
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C336C5 #38C536
analogous
#7C36C5 #C336C5 #C53680
triadic
#C336C5 #C5C336 #36C5C3
tetradic
#C336C5 #C57C36 #38C536 #3680C5
square
#C336C5 #C57C36 #38C536 #3680C5
split-complementary
#C336C5 #80C536 #36C57C
monochromatic
#641C65 #932995 #C336C5 #D364D4 #E194E2
Accessibility & contrast
On white
4.51
#C336C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#C336C5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C336C5
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C336C5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C336C5 | 1.00 | 4.51 | 4.65 | 4.65 |
| #FFFFFF | 4.51 | 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)
#156BC9
Deuteranopia (green-blind)
#5B7DC1
Tritanopia (blue-blind)
#C94D7B
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #c336c5; /* rgb */ color: rgb(195, 54, 197); /* oklch */ color: oklch(59.8% 0.234 327.4);
Tailwind
colors: {
custom: {
50: '#d97bd7',
500: '#c336c5',
950: '#000000',
},
}SCSS
$custom: #c336c5; $custom-light: #d97bd7; $custom-dark: #000000;
JSON
{
"hex": "#c336c5",
"rgb": {
"r": 195,
"g": 54,
"b": 197
},
"hsl": {
"h": 299.161,
"s": 56.972,
"l": 49.216
},
"oklch": {
"l": 0.59824,
"c": 0.23355,
"h": 327.4
},
"luminance": 0.18272
}Semantic roles & 50–950 ramp
primary
#C336C5
secondary
#8BCD8A
accent
#E0484A
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83