#C252E4#C252E4
#C252E4 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.2% C 0.226 H 317.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #C252E4 |
|---|---|
| RGB | rgb(194, 82, 228) |
| HSL | hsl(286, 73%, 61%) |
| HSV | hsv(286, 64%, 89%) |
| CMYK | cmyk(14.9%, 64%, 0%, 10.6%) |
| CIE-LAB | lab(55.18, 65.57, -54.51) |
| CIE-LCH | lch(55.18, 85.27, 320.26°) |
| OKLab | oklab(64.2% 0.1664 -0.1527) |
| OKLCH | oklch(64.2% 0.226 317.5) |
| XYZ | xyz(39.2670, 23.1069, 75.7754) |
| Luminance | 0.2311 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.63
Heliotrope
#D94FF5
ΔE00 4.11
Bright Lilac
#C95EFB
ΔE00 4.32
Pinkish Purple
#D648D7
ΔE00 4.46
Bright Lavender
#C760FF
ΔE00 4.94
Purple Pink
#D725DE
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C252E4 #74E452
analogous
#7952E4 #C252E4 #E452BD
triadic
#C252E4 #E4C252 #52E4C2
tetradic
#C252E4 #E47952 #74E452 #52BDE4
square
#C252E4 #E47952 #74E452 #52BDE4
split-complementary
#C252E4 #BDE452 #52E479
monochromatic
#8219A2 #AD22D7 #C252E4 #D587EC #E7BCF5
Accessibility & contrast
On white
3.74
#C252E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#C252E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C252E4
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C252E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C252E4 | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D7DE8
Deuteranopia (green-blind)
#5688E0
Tritanopia (blue-blind)
#C16C94
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #c252e4; /* rgb */ color: rgb(194, 82, 228); /* oklch */ color: oklch(64.2% 0.226 317.5);
Tailwind
colors: {
custom: {
50: '#d88aed',
500: '#c252e4',
950: '#000000',
},
}SCSS
$custom: #c252e4; $custom-light: #d88aed; $custom-dark: #000000;
JSON
{
"hex": "#c252e4",
"rgb": {
"r": 194,
"g": 82,
"b": 228
},
"hsl": {
"h": 286.027,
"s": 73,
"l": 60.784
},
"oklch": {
"l": 0.64201,
"c": 0.22585,
"h": 317.5
},
"luminance": 0.23105
}Semantic roles & 50–950 ramp
primary
#C252E4
secondary
#BAE5AD
accent
#D5103E
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84