#C252D9#C252D9
#C252D9 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.6% C 0.216 H 320.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #C252D9 |
|---|---|
| RGB | rgb(194, 82, 217) |
| HSL | hsl(290, 64%, 59%) |
| HSV | hsv(290, 62%, 85%) |
| CMYK | cmyk(10.6%, 62.2%, 0%, 14.9%) |
| CIE-LAB | lab(54.57, 63.48, -49.27) |
| CIE-LCH | lch(54.57, 80.36, 322.18°) |
| OKLab | oklab(63.56% 0.1664 -0.1374) |
| OKLCH | oklch(63.56% 0.216 320.5) |
| XYZ | xyz(37.7883, 22.5155, 67.9876) |
| Luminance | 0.2251 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 1.46
Pinkish Purple
#D648D7
ΔE00 3.53
Purple Pink
#D725DE
ΔE00 4.89
Heliotrope
#D94FF5
ΔE00 4.95
Pinky Purple
#C94CBE
ΔE00 5.16
Bright Lilac
#C95EFB
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C252D9 #69D952
analogous
#7E52D9 #C252D9 #D952AC
triadic
#C252D9 #D9C252 #52D9C2
tetradic
#C252D9 #D97E52 #69D952 #52ACD9
square
#C252D9 #D97E52 #69D952 #52ACD9
split-complementary
#C252D9 #ACD952 #52D97E
monochromatic
#7E2091 #A92BC3 #C252D9 #D484E4 #E5B6EF
Accessibility & contrast
On white
3.82
#C252D9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#C252D9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C252D9
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C252D9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C252D9 | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F7BDD
Deuteranopia (green-blind)
#5E87D6
Tritanopia (blue-blind)
#C3688E
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #c252d9; /* rgb */ color: rgb(194, 82, 217); /* oklch */ color: oklch(63.6% 0.216 320.5);
Tailwind
colors: {
custom: {
50: '#d889e5',
500: '#c252d9',
950: '#000000',
},
}SCSS
$custom: #c252d9; $custom-light: #d889e5; $custom-dark: #000000;
JSON
{
"hex": "#c252d9",
"rgb": {
"r": 194,
"g": 82,
"b": 217
},
"hsl": {
"h": 289.778,
"s": 63.981,
"l": 58.627
},
"oklch": {
"l": 0.63561,
"c": 0.21582,
"h": 320.5
},
"luminance": 0.22514
}Semantic roles & 50–950 ramp
primary
#C252D9
secondary
#B2DEA9
accent
#E7415D
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84