#C752E8#C752E8
#C752E8 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.1% C 0.232 H 318.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #C752E8 |
|---|---|
| RGB | rgb(199, 82, 232) |
| HSL | hsl(287, 77%, 62%) |
| HSV | hsv(287, 65%, 91%) |
| CMYK | cmyk(14.2%, 64.7%, 0%, 9%) |
| CIE-LAB | lab(56.09, 67.46, -55.26) |
| CIE-LCH | lch(56.09, 87.20, 320.68°) |
| OKLab | oklab(65.07% 0.1722 -0.1548) |
| OKLCH | oklch(65.07% 0.232 318) |
| XYZ | xyz(41.1339, 24.0046, 78.7949) |
| Luminance | 0.2400 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.14
Mediumorchid
#BA55D3
ΔE00 3.41
Bright Lilac
#C95EFB
ΔE00 3.66
Pinkish Purple
#D648D7
ΔE00 4.20
Bright Lavender
#C760FF
ΔE00 4.34
Purple Pink
#D725DE
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C752E8 #73E852
analogous
#7C52E8 #C752E8 #E852BE
triadic
#C752E8 #E8C752 #52E8C7
tetradic
#C752E8 #E87C52 #73E852 #52BEE8
square
#C752E8 #E87C52 #73E852 #52BEE8
split-complementary
#C752E8 #BEE852 #52E87C
monochromatic
#8916A9 #B51EDF #C752E8 #D888EF #EABEF6
Accessibility & contrast
On white
3.62
#C752E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#C752E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C752E8
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C752E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C752E8 | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A7FEC
Deuteranopia (green-blind)
#588AE4
Tritanopia (blue-blind)
#C66D96
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #c752e8; /* rgb */ color: rgb(199, 82, 232); /* oklch */ color: oklch(65.1% 0.232 318.0);
Tailwind
colors: {
custom: {
50: '#dc8af0',
500: '#c752e8',
950: '#000000',
},
}SCSS
$custom: #c752e8; $custom-light: #dc8af0; $custom-dark: #000000;
JSON
{
"hex": "#c752e8",
"rgb": {
"r": 199,
"g": 82,
"b": 232
},
"hsl": {
"h": 286.8,
"s": 76.531,
"l": 61.569
},
"oklch": {
"l": 0.65071,
"c": 0.23152,
"h": 318
},
"luminance": 0.24003
}Semantic roles & 50–950 ramp
primary
#C752E8
secondary
#BBE7AF
accent
#D90D3A
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85