#C852E6#C852E6
#C852E6 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.1% C 0.230 H 318.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #C852E6 |
|---|---|
| RGB | rgb(200, 82, 230) |
| HSL | hsl(288, 75%, 61%) |
| HSV | hsv(288, 64%, 90%) |
| CMYK | cmyk(13%, 64.3%, 0%, 9.8%) |
| CIE-LAB | lab(56.12, 67.30, -54.09) |
| CIE-LCH | lch(56.12, 86.35, 321.21°) |
| OKLab | oklab(65.08% 0.1734 -0.1513) |
| OKLCH | oklch(65.08% 0.23 318.9) |
| XYZ | xyz(41.1177, 24.0289, 77.3198) |
| Luminance | 0.2403 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.11
Mediumorchid
#BA55D3
ΔE00 3.28
Pinkish Purple
#D648D7
ΔE00 3.83
Bright Lilac
#C95EFB
ΔE00 3.88
Bright Lavender
#C760FF
ΔE00 4.59
Purple Pink
#D725DE
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C852E6 #70E652
analogous
#7E52E6 #C852E6 #E652BA
triadic
#C852E6 #E6C852 #52E6C8
tetradic
#C852E6 #E67E52 #70E652 #52BAE6
square
#C852E6 #E67E52 #70E652 #52BAE6
split-complementary
#C852E6 #BAE652 #52E67E
monochromatic
#8918A6 #B520DB #C852E6 #D987EE #EABDF5
Accessibility & contrast
On white
3.62
#C852E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#C852E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C852E6
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C852E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C852E6 | 1.00 | 3.62 | 5.81 | 5.81 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#207FEA
Deuteranopia (green-blind)
#5B8AE2
Tritanopia (blue-blind)
#C86C95
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #c852e6; /* rgb */ color: rgb(200, 82, 230); /* oklch */ color: oklch(65.1% 0.230 318.9);
Tailwind
colors: {
custom: {
50: '#dc8aee',
500: '#c852e6',
950: '#000000',
},
}SCSS
$custom: #c852e6; $custom-light: #dc8aee; $custom-dark: #000000;
JSON
{
"hex": "#c852e6",
"rgb": {
"r": 200,
"g": 82,
"b": 230
},
"hsl": {
"h": 287.838,
"s": 74.747,
"l": 61.176
},
"oklch": {
"l": 0.6508,
"c": 0.23013,
"h": 318.9
},
"luminance": 0.24027
}Semantic roles & 50–950 ramp
primary
#C852E6
secondary
#B9E6AE
accent
#D70F37
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84