#C336B3#C336B3
#C336B3 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.8% C 0.220 H 333.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #C336B3 |
|---|---|
| RGB | rgb(195, 54, 179) |
| HSL | hsl(307, 57%, 49%) |
| HSV | hsv(307, 72%, 76%) |
| CMYK | cmyk(0%, 72.3%, 8.2%, 23.5%) |
| CIE-LAB | lab(48.88, 68.04, -36.37) |
| CIE-LCH | lch(48.88, 77.15, 331.87°) |
| OKLab | oklab(58.84% 0.1963 -0.0998) |
| OKLCH | oklch(58.84% 0.22 333.1) |
| XYZ | xyz(31.9617, 17.4978, 44.3331) |
| Luminance | 0.1749 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.84
Pinky Purple
#C94CBE
ΔE00 4.58
Ugly Purple
#A442A0
ΔE00 5.78
Medium Purple
#9E43A2
ΔE00 6.73
Purple Pink
#D725DE
ΔE00 6.75
Barney
#AC1DB8
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C336B3 #36C346
analogous
#8D36C3 #C336B3 #C3366C
triadic
#C336B3 #B3C336 #36B3C3
tetradic
#C336B3 #C38D36 #36C346 #366CC3
square
#C336B3 #C38D36 #36C346 #366CC3
split-complementary
#C336B3 #6CC336 #36C38D
monochromatic
#631B5B #932987 #C336B3 #D463C7 #E192D8
Accessibility & contrast
On white
4.67
#C336B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#C336B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #C336B3
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C336B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C336B3 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3067B6
Deuteranopia (green-blind)
#657BB0
Tritanopia (blue-blind)
#CC4471
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #c336b3; /* rgb */ color: rgb(195, 54, 179); /* oklch */ color: oklch(58.8% 0.220 333.1);
Tailwind
colors: {
custom: {
50: '#d97bca',
500: '#c336b3',
950: '#000000',
},
}SCSS
$custom: #c336b3; $custom-light: #d97bca; $custom-dark: #000000;
JSON
{
"hex": "#c336b3",
"rgb": {
"r": 195,
"g": 54,
"b": 179
},
"hsl": {
"h": 306.809,
"s": 56.627,
"l": 48.824
},
"oklch": {
"l": 0.5884,
"c": 0.22024,
"h": 333.1
},
"luminance": 0.17495
}Semantic roles & 50–950 ramp
primary
#C336B3
secondary
#89CC90
accent
#E05948
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82