#C526C7#C526C7
#C526C7 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 59.1% C 0.250 H 327.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #C526C7 |
|---|---|
| RGB | rgb(197, 38, 199) |
| HSL | hsl(299, 68%, 46%) |
| HSV | hsv(299, 81%, 78%) |
| CMYK | cmyk(1%, 80.9%, 0%, 22%) |
| CIE-LAB | lab(48.74, 75.99, -48.23) |
| CIE-LCH | lch(48.74, 90.00, 327.60°) |
| OKLab | oklab(59.15% 0.2112 -0.134) |
| OKLCH | oklch(59.15% 0.25 327.6) |
| XYZ | xyz(34.0274, 17.3826, 55.5847) |
| Luminance | 0.1738 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.97
Purple Pink
#D725DE
ΔE00 4.63
Barney
#AC1DB8
ΔE00 5.77
Pinky Purple
#C94CBE
ΔE00 6.11
Hot Purple
#CB00F5
ΔE00 6.25
Mediumorchid
#BA55D3
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C526C7 #28C726
analogous
#7526C7 #C526C7 #C72679
triadic
#C526C7 #C7C526 #26C7C5
tetradic
#C526C7 #C77526 #28C726 #2679C7
square
#C526C7 #C77526 #28C726 #2679C7
split-complementary
#C526C7 #79C726 #26C775
monochromatic
#5F1260 #921C94 #C526C7 #DB4DDD #E681E7
Accessibility & contrast
On white
4.69
#C526C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#C526C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C526C7
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C526C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C526C7 | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#557BC3
Tritanopia (blue-blind)
#CB4479
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #c526c7; /* rgb */ color: rgb(197, 38, 199); /* oklch */ color: oklch(59.1% 0.250 327.6);
Tailwind
colors: {
custom: {
50: '#db76d9',
500: '#c526c7',
950: '#000000',
},
}SCSS
$custom: #c526c7; $custom-light: #db76d9; $custom-dark: #000000;
JSON
{
"hex": "#c526c7",
"rgb": {
"r": 197,
"g": 38,
"b": 199
},
"hsl": {
"h": 299.255,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.59148,
"c": 0.25014,
"h": 327.6
},
"luminance": 0.1738
}Semantic roles & 50–950 ramp
primary
#C526C7
secondary
#7ACF79
accent
#EB3D3F
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A15
muted
#847C83