#CF52E2#CF52E2
#CF52E2 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.8% C 0.230 H 322.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CF52E2 |
|---|---|
| RGB | rgb(207, 82, 226) |
| HSL | hsl(292, 71%, 60%) |
| HSV | hsv(292, 64%, 89%) |
| CMYK | cmyk(8.4%, 63.7%, 0%, 11.4%) |
| CIE-LAB | lab(56.87, 68.16, -50.58) |
| CIE-LCH | lch(56.87, 84.88, 323.42°) |
| OKLab | oklab(65.75% 0.1814 -0.1409) |
| OKLCH | oklch(65.75% 0.23 322.2) |
| XYZ | xyz(42.4755, 24.7932, 74.4850) |
| Luminance | 0.2479 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Purple
#D648D7
ΔE00 2.57
Heliotrope
#D94FF5
ΔE00 2.79
Mediumorchid
#BA55D3
ΔE00 3.85
Bright Lilac
#C95EFB
ΔE00 4.56
Purple Pink
#D725DE
ΔE00 5.04
Pink Purple
#EF1DE7
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF52E2 #65E252
analogous
#8752E2 #CF52E2 #E252AD
triadic
#CF52E2 #E2CF52 #52E2CF
tetradic
#CF52E2 #E28752 #65E252 #52ADE2
square
#CF52E2 #E28752 #65E252 #52ADE2
split-complementary
#CF52E2 #ADE252 #52E287
monochromatic
#8D1B9F #BC23D3 #CF52E2 #DE86EB #ECBBF4
Accessibility & contrast
On white
3.52
#CF52E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.96
#CF52E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF52E2
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF52E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF52E2 | 1.00 | 3.52 | 5.96 | 5.96 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F7FE6
Deuteranopia (green-blind)
#648DDE
Tritanopia (blue-blind)
#D16993
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #cf52e2; /* rgb */ color: rgb(207, 82, 226); /* oklch */ color: oklch(65.8% 0.230 322.2);
Tailwind
colors: {
custom: {
50: '#e18bec',
500: '#cf52e2',
950: '#000000',
},
}SCSS
$custom: #cf52e2; $custom-light: #e18bec; $custom-dark: #000000;
JSON
{
"hex": "#cf52e2",
"rgb": {
"r": 207,
"g": 82,
"b": 226
},
"hsl": {
"h": 292.083,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.65754,
"c": 0.22969,
"h": 322.2
},
"luminance": 0.24791
}Semantic roles & 50–950 ramp
primary
#CF52E2
secondary
#B4E3AC
accent
#D3122C
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D16
muted
#847D84