#C336B5#C336B5
#C336B5 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.9% C 0.222 H 332.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #C336B5 |
|---|---|
| RGB | rgb(195, 54, 181) |
| HSL | hsl(306, 57%, 49%) |
| HSV | hsv(306, 72%, 76%) |
| CMYK | cmyk(0%, 72.3%, 7.2%, 23.5%) |
| CIE-LAB | lab(48.98, 68.34, -37.38) |
| CIE-LCH | lch(48.98, 77.90, 331.32°) |
| OKLab | oklab(58.95% 0.1965 -0.1027) |
| OKLCH | oklch(58.95% 0.222 332.4) |
| XYZ | xyz(32.1654, 17.5793, 45.4062) |
| Luminance | 0.1758 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.73
Pinky Purple
#C94CBE
ΔE00 4.49
Ugly Purple
#A442A0
ΔE00 5.89
Purple Pink
#D725DE
ΔE00 6.45
Medium Purple
#9E43A2
ΔE00 6.78
Barney
#AC1DB8
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C336B5 #36C344
analogous
#8B36C3 #C336B5 #C3366F
triadic
#C336B5 #B5C336 #36B5C3
tetradic
#C336B5 #C38B36 #36C344 #366FC3
square
#C336B5 #C38B36 #36C344 #366FC3
split-complementary
#C336B5 #6FC336 #36C38B
monochromatic
#631B5C #932989 #C336B5 #D463C8 #E192D9
Accessibility & contrast
On white
4.65
#C336B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#C336B5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #C336B5
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C336B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C336B5 | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E68B8
Deuteranopia (green-blind)
#647BB2
Tritanopia (blue-blind)
#CB4572
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #c336b5; /* rgb */ color: rgb(195, 54, 181); /* oklch */ color: oklch(58.9% 0.222 332.4);
Tailwind
colors: {
custom: {
50: '#d97bcb',
500: '#c336b5',
950: '#000000',
},
}SCSS
$custom: #c336b5; $custom-light: #d97bcb; $custom-dark: #000000;
JSON
{
"hex": "#c336b5",
"rgb": {
"r": 195,
"g": 54,
"b": 181
},
"hsl": {
"h": 305.957,
"s": 56.627,
"l": 48.824
},
"oklch": {
"l": 0.58945,
"c": 0.22168,
"h": 332.4
},
"luminance": 0.17577
}Semantic roles & 50–950 ramp
primary
#C336B5
secondary
#89CC90
accent
#E05748
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82