#C252BD#C252BD
#C252BD is a light, vivid purple. Relative luminance 0.212; OKLCH L 62.1% C 0.191 H 329.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #C252BD |
|---|---|
| RGB | rgb(194, 82, 189) |
| HSL | hsl(303, 48%, 54%) |
| HSV | hsv(303, 58%, 76%) |
| CMYK | cmyk(0%, 57.7%, 2.6%, 23.9%) |
| CIE-LAB | lab(53.15, 58.45, -35.50) |
| CIE-LCH | lch(53.15, 68.39, 328.73°) |
| OKLab | oklab(62.06% 0.1646 -0.0975) |
| OKLCH | oklch(62.06% 0.191 329.3) |
| XYZ | xyz(34.4504, 21.1803, 50.4079) |
| Luminance | 0.2118 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 1.32
Purpley Pink
#C83CB9
ΔE00 3.53
Mediumorchid
#BA55D3
ΔE00 4.60
Pinkish Purple
#D648D7
ΔE00 4.66
Purpleish Pink
#DF4EC8
ΔE00 5.12
Purplish Pink
#CE5DAE
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C252BD #52C257
analogous
#8F52C2 #C252BD #C25285
triadic
#C252BD #BDC252 #52BDC2
tetradic
#C252BD #C28F52 #52C257 #5285C2
square
#C252BD #C28F52 #52C257 #5285C2
split-complementary
#C252BD #85C252 #52C28F
monochromatic
#72286E #9F389A #C252BD #D27FCE #E2ACE0
Accessibility & contrast
On white
4.01
#C252BD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#C252BD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C252BD
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C252BD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C252BD | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4975C0
Deuteranopia (green-blind)
#6E84BA
Tritanopia (blue-blind)
#C85E80
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #c252bd; /* rgb */ color: rgb(194, 82, 189); /* oklch */ color: oklch(62.1% 0.191 329.3);
Tailwind
colors: {
custom: {
50: '#d789d1',
500: '#c252bd',
950: '#000000',
},
}SCSS
$custom: #c252bd; $custom-light: #d789d1; $custom-dark: #000000;
JSON
{
"hex": "#c252bd",
"rgb": {
"r": 194,
"g": 82,
"b": 189
},
"hsl": {
"h": 302.679,
"s": 47.863,
"l": 54.118
},
"oklch": {
"l": 0.62063,
"c": 0.19129,
"h": 329.3
},
"luminance": 0.21178
}Semantic roles & 50–950 ramp
primary
#C252BD
secondary
#A0D0A2
accent
#D75650
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82