#C535B2#C535B2
#C535B2 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.0% C 0.222 H 334.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #C535B2 |
|---|---|
| RGB | rgb(197, 53, 178) |
| HSL | hsl(308, 58%, 49%) |
| HSV | hsv(308, 73%, 77%) |
| CMYK | cmyk(0%, 73.1%, 9.6%, 22.7%) |
| CIE-LAB | lab(49.05, 68.66, -35.50) |
| CIE-LCH | lch(49.05, 77.30, 332.66°) |
| OKLab | oklab(59.01% 0.1992 -0.0972) |
| OKLCH | oklch(59.01% 0.222 334) |
| XYZ | xyz(32.3352, 17.6337, 43.8115) |
| Luminance | 0.1763 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.77
Pinky Purple
#C94CBE
ΔE00 4.52
Ugly Purple
#A442A0
ΔE00 6.04
Purple Pink
#D725DE
ΔE00 6.84
Medium Purple
#9E43A2
ΔE00 7.05
Barney
#AC1DB8
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C535B2 #35C548
analogous
#9035C5 #C535B2 #C5356A
triadic
#C535B2 #B2C535 #35B2C5
tetradic
#C535B2 #C59035 #35C548 #356AC5
square
#C535B2 #C59035 #35C548 #356AC5
split-complementary
#C535B2 #6AC535 #35C590
monochromatic
#651B5B #952886 #C535B2 #D562C6 #E293D7
Accessibility & contrast
On white
4.64
#C535B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#C535B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #C535B2
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C535B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C535B2 | 1.00 | 4.64 | 4.53 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#667CAF
Tritanopia (blue-blind)
#CE4270
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #c535b2; /* rgb */ color: rgb(197, 53, 178); /* oklch */ color: oklch(59.0% 0.222 334.0);
Tailwind
colors: {
custom: {
50: '#da7ac9',
500: '#c535b2',
950: '#000000',
},
}SCSS
$custom: #c535b2; $custom-light: #da7ac9; $custom-dark: #000000;
JSON
{
"hex": "#c535b2",
"rgb": {
"r": 197,
"g": 53,
"b": 178
},
"hsl": {
"h": 307.917,
"s": 57.6,
"l": 49.02
},
"oklch": {
"l": 0.59007,
"c": 0.22167,
"h": 334
},
"luminance": 0.17631
}Semantic roles & 50–950 ramp
primary
#C535B2
secondary
#89CD92
accent
#E15B47
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82