#C525C2#C525C2
#C525C2 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.8% C 0.247 H 329.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #C525C2 |
|---|---|
| RGB | rgb(197, 37, 194) |
| HSL | hsl(301, 68%, 46%) |
| HSV | hsv(301, 81%, 77%) |
| CMYK | cmyk(0%, 81.2%, 1.5%, 22.7%) |
| CIE-LAB | lab(48.37, 75.45, -45.91) |
| CIE-LCH | lch(48.37, 88.32, 328.68°) |
| OKLab | oklab(58.8% 0.2121 -0.1272) |
| OKLCH | oklch(58.8% 0.247 329) |
| XYZ | xyz(33.4249, 17.0911, 52.5670) |
| Luminance | 0.1709 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.64
Purple Pink
#D725DE
ΔE00 5.21
Barney
#AC1DB8
ΔE00 5.58
Pinky Purple
#C94CBE
ΔE00 6.06
Hot Purple
#CB00F5
ΔE00 7.02
Ugly Purple
#A442A0
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C525C2 #25C528
analogous
#7825C5 #C525C2 #C52572
triadic
#C525C2 #C2C525 #25C2C5
tetradic
#C525C2 #C57825 #25C528 #2572C5
square
#C525C2 #C57825 #25C528 #2572C5
split-complementary
#C525C2 #72C525 #25C578
monochromatic
#5E125D #911B8F #C525C2 #DD4ADA #E77EE5
Accessibility & contrast
On white
4.75
#C525C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#C525C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C525C2
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C525C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C525C2 | 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)
#0066C6
Deuteranopia (green-blind)
#587ABE
Tritanopia (blue-blind)
#CC4175
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #c525c2; /* rgb */ color: rgb(197, 37, 194); /* oklch */ color: oklch(58.8% 0.247 329.0);
Tailwind
colors: {
custom: {
50: '#db75d5',
500: '#c525c2',
950: '#000000',
},
}SCSS
$custom: #c525c2; $custom-light: #db75d5; $custom-dark: #000000;
JSON
{
"hex": "#c525c2",
"rgb": {
"r": 197,
"g": 37,
"b": 194
},
"hsl": {
"h": 301.125,
"s": 68.376,
"l": 45.882
},
"oklch": {
"l": 0.58799,
"c": 0.24735,
"h": 329
},
"luminance": 0.17088
}Semantic roles & 50–950 ramp
primary
#C525C2
secondary
#77CF78
accent
#EB403D
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83