#CF52D8#CF52D8
#CF52D8 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.2% C 0.221 H 325.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #CF52D8 |
|---|---|
| RGB | rgb(207, 82, 216) |
| HSL | hsl(296, 63%, 58%) |
| HSV | hsv(296, 62%, 85%) |
| CMYK | cmyk(4.2%, 62%, 0%, 15.3%) |
| CIE-LAB | lab(56.35, 66.39, -45.77) |
| CIE-LCH | lch(56.35, 80.64, 325.42°) |
| OKLab | oklab(65.2% 0.1811 -0.1269) |
| OKLCH | oklch(65.2% 0.221 325) |
| XYZ | xyz(41.1431, 24.2603, 67.4680) |
| Luminance | 0.2426 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Purple
#D648D7
ΔE00 1.56
Mediumorchid
#BA55D3
ΔE00 3.71
Heliotrope
#D94FF5
ΔE00 4.18
Pinky Purple
#C94CBE
ΔE00 4.43
Purpleish Pink
#DF4EC8
ΔE00 4.51
Purple Pink
#D725DE
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF52D8 #5BD852
analogous
#8C52D8 #CF52D8 #D8529E
triadic
#CF52D8 #D8CF52 #52D8CF
tetradic
#CF52D8 #D88C52 #5BD852 #529ED8
square
#CF52D8 #D88C52 #5BD852 #529ED8
split-complementary
#CF52D8 #9ED852 #52D88C
monochromatic
#88208F #B72CC1 #CF52D8 #DD84E3 #EBB6EF
Accessibility & contrast
On white
3.59
#CF52D8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#CF52D8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF52D8
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF52D8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF52D8 | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B7DDC
Deuteranopia (green-blind)
#6A8CD4
Tritanopia (blue-blind)
#D3658E
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #cf52d8; /* rgb */ color: rgb(207, 82, 216); /* oklch */ color: oklch(65.2% 0.221 325.0);
Tailwind
colors: {
custom: {
50: '#e18be4',
500: '#cf52d8',
950: '#000000',
},
}SCSS
$custom: #cf52d8; $custom-light: #e18be4; $custom-dark: #000000;
JSON
{
"hex": "#cf52d8",
"rgb": {
"r": 207,
"g": 82,
"b": 216
},
"hsl": {
"h": 295.97,
"s": 63.208,
"l": 58.431
},
"oklch": {
"l": 0.65204,
"c": 0.22115,
"h": 325
},
"luminance": 0.24258
}Semantic roles & 50–950 ramp
primary
#CF52D8
secondary
#ACDDA8
accent
#E6424D
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84