#C526C1#C526C1
#C526C1 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.8% C 0.246 H 329.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #C526C1 |
|---|---|
| RGB | rgb(197, 38, 193) |
| HSL | hsl(302, 68%, 46%) |
| HSV | hsv(302, 81%, 77%) |
| CMYK | cmyk(0%, 80.7%, 2%, 22.7%) |
| CIE-LAB | lab(48.40, 75.06, -45.29) |
| CIE-LCH | lch(48.40, 87.67, 328.90°) |
| OKLab | oklab(58.8% 0.2115 -0.1254) |
| OKLCH | oklch(58.8% 0.246 329.3) |
| XYZ | xyz(33.3445, 17.1094, 51.9880) |
| Luminance | 0.1711 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.49
Purple Pink
#D725DE
ΔE00 5.27
Barney
#AC1DB8
ΔE00 5.63
Pinky Purple
#C94CBE
ΔE00 5.95
Ugly Purple
#A442A0
ΔE00 6.97
Hot Purple
#CB00F5
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C526C1 #26C52A
analogous
#7926C5 #C526C1 #C52672
triadic
#C526C1 #C1C526 #26C1C5
tetradic
#C526C1 #C57926 #26C52A #2672C5
square
#C526C1 #C57926 #26C52A #2672C5
split-complementary
#C526C1 #72C526 #26C579
monochromatic
#5E125C #921C8F #C526C1 #DC4CD9 #E67FE4
Accessibility & contrast
On white
4.75
#C526C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#C526C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C526C1
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C526C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C526C1 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#597ABD
Tritanopia (blue-blind)
#CC4175
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #c526c1; /* rgb */ color: rgb(197, 38, 193); /* oklch */ color: oklch(58.8% 0.246 329.3);
Tailwind
colors: {
custom: {
50: '#db75d4',
500: '#c526c1',
950: '#000000',
},
}SCSS
$custom: #c526c1; $custom-light: #db75d4; $custom-dark: #000000;
JSON
{
"hex": "#c526c1",
"rgb": {
"r": 197,
"g": 38,
"b": 193
},
"hsl": {
"h": 301.509,
"s": 67.66,
"l": 46.078
},
"oklch": {
"l": 0.58797,
"c": 0.2459,
"h": 329.3
},
"luminance": 0.17107
}Semantic roles & 50–950 ramp
primary
#C526C1
secondary
#78CF7A
accent
#EB423D
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83