#C752E6#C752E6
#C752E6 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.0% C 0.230 H 318.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #C752E6 |
|---|---|
| RGB | rgb(199, 82, 230) |
| HSL | hsl(287, 75%, 61%) |
| HSV | hsv(287, 64%, 90%) |
| CMYK | cmyk(13.5%, 64.3%, 0%, 9.8%) |
| CIE-LAB | lab(55.98, 67.08, -54.32) |
| CIE-LCH | lch(55.98, 86.32, 321.00°) |
| OKLab | oklab(64.95% 0.1722 -0.152) |
| OKLCH | oklch(64.95% 0.23 318.6) |
| XYZ | xyz(40.8515, 23.8917, 77.3073) |
| Luminance | 0.2389 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.19
Heliotrope
#D94FF5
ΔE00 3.25
Bright Lilac
#C95EFB
ΔE00 3.90
Pinkish Purple
#D648D7
ΔE00 3.96
Bright Lavender
#C760FF
ΔE00 4.59
Purple Pink
#D725DE
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C752E6 #71E652
analogous
#7D52E6 #C752E6 #E652BB
triadic
#C752E6 #E6C752 #52E6C7
tetradic
#C752E6 #E67D52 #71E652 #52BBE6
square
#C752E6 #E67D52 #71E652 #52BBE6
split-complementary
#C752E6 #BBE652 #52E67D
monochromatic
#8818A6 #B420DB #C752E6 #D887EE #EABDF5
Accessibility & contrast
On white
3.63
#C752E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#C752E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C752E6
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C752E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C752E6 | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F7EEA
Deuteranopia (green-blind)
#5A8AE2
Tritanopia (blue-blind)
#C76C95
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #c752e6; /* rgb */ color: rgb(199, 82, 230); /* oklch */ color: oklch(65.0% 0.230 318.6);
Tailwind
colors: {
custom: {
50: '#dc8aee',
500: '#c752e6',
950: '#000000',
},
}SCSS
$custom: #c752e6; $custom-light: #dc8aee; $custom-dark: #000000;
JSON
{
"hex": "#c752e6",
"rgb": {
"r": 199,
"g": 82,
"b": 230
},
"hsl": {
"h": 287.432,
"s": 74.747,
"l": 61.176
},
"oklch": {
"l": 0.64953,
"c": 0.22972,
"h": 318.6
},
"luminance": 0.2389
}Semantic roles & 50–950 ramp
primary
#C752E6
secondary
#BAE6AE
accent
#D70F39
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84