#C526C4#C526C4
#C526C4 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 59.0% C 0.248 H 328.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #C526C4 |
|---|---|
| RGB | rgb(197, 38, 196) |
| HSL | hsl(300, 68%, 46%) |
| HSV | hsv(300, 81%, 77%) |
| CMYK | cmyk(0%, 80.7%, 0.5%, 22.7%) |
| CIE-LAB | lab(48.57, 75.52, -46.76) |
| CIE-LCH | lch(48.57, 88.83, 328.24°) |
| OKLab | oklab(58.97% 0.2114 -0.1297) |
| OKLCH | oklch(58.97% 0.248 328.5) |
| XYZ | xyz(33.6825, 17.2447, 53.7684) |
| Luminance | 0.1724 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.71
Purple Pink
#D725DE
ΔE00 4.94
Barney
#AC1DB8
ΔE00 5.68
Pinky Purple
#C94CBE
ΔE00 6.01
Hot Purple
#CB00F5
ΔE00 6.71
Mediumorchid
#BA55D3
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C526C4 #26C527
analogous
#7626C5 #C526C4 #C52674
triadic
#C526C4 #C4C526 #26C4C5
tetradic
#C526C4 #C57626 #26C527 #2674C5
square
#C526C4 #C57626 #26C527 #2674C5
split-complementary
#C526C4 #74C526 #26C576
monochromatic
#5E125E #921C91 #C526C4 #DC4CDC #E67FE6
Accessibility & contrast
On white
4.72
#C526C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#C526C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C526C4
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C526C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C526C4 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#577AC0
Tritanopia (blue-blind)
#CC4377
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #c526c4; /* rgb */ color: rgb(197, 38, 196); /* oklch */ color: oklch(59.0% 0.248 328.5);
Tailwind
colors: {
custom: {
50: '#db76d6',
500: '#c526c4',
950: '#000000',
},
}SCSS
$custom: #c526c4; $custom-light: #db76d6; $custom-dark: #000000;
JSON
{
"hex": "#c526c4",
"rgb": {
"r": 197,
"g": 38,
"b": 196
},
"hsl": {
"h": 300.377,
"s": 67.66,
"l": 46.078
},
"oklch": {
"l": 0.58972,
"c": 0.24801,
"h": 328.5
},
"luminance": 0.17242
}Semantic roles & 50–950 ramp
primary
#C526C4
secondary
#78CF79
accent
#EB3E3D
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83