#C526C5#C526C5
#C526C5 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 59.0% C 0.249 H 328.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #C526C5 |
|---|---|
| RGB | rgb(197, 38, 197) |
| HSL | hsl(300, 68%, 46%) |
| HSV | hsv(300, 81%, 77%) |
| CMYK | cmyk(0%, 80.7%, 0%, 22.7%) |
| CIE-LAB | lab(48.62, 75.68, -47.25) |
| CIE-LCH | lch(48.62, 89.22, 328.02°) |
| OKLab | oklab(59.03% 0.2113 -0.1312) |
| OKLCH | oklch(59.03% 0.249 328.2) |
| XYZ | xyz(33.7967, 17.2903, 54.3698) |
| Luminance | 0.1729 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.79
Purple Pink
#D725DE
ΔE00 4.84
Barney
#AC1DB8
ΔE00 5.71
Pinky Purple
#C94CBE
ΔE00 6.04
Hot Purple
#CB00F5
ΔE00 6.56
Mediumorchid
#BA55D3
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C526C5 #26C526
analogous
#7526C5 #C526C5 #C52675
triadic
#C526C5 #C5C526 #26C5C5
tetradic
#C526C5 #C57526 #26C526 #2675C5
square
#C526C5 #C57526 #26C526 #2675C5
split-complementary
#C526C5 #75C526 #26C575
monochromatic
#5E125E #921C92 #C526C5 #DC4CDC #E67FE6
Accessibility & contrast
On white
4.71
#C526C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#C526C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C526C5
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C526C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C526C5 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#577AC1
Tritanopia (blue-blind)
#CB4377
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #c526c5; /* rgb */ color: rgb(197, 38, 197); /* oklch */ color: oklch(59.0% 0.249 328.2);
Tailwind
colors: {
custom: {
50: '#db76d7',
500: '#c526c5',
950: '#000000',
},
}SCSS
$custom: #c526c5; $custom-light: #db76d7; $custom-dark: #000000;
JSON
{
"hex": "#c526c5",
"rgb": {
"r": 197,
"g": 38,
"b": 197
},
"hsl": {
"h": 300,
"s": 67.66,
"l": 46.078
},
"oklch": {
"l": 0.5903,
"c": 0.24871,
"h": 328.2
},
"luminance": 0.17288
}Semantic roles & 50–950 ramp
primary
#C526C5
secondary
#78CF78
accent
#EB3D3D
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83