#CF52C2#CF52C2
#CF52C2 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.1% C 0.203 H 331.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #CF52C2 |
|---|---|
| RGB | rgb(207, 82, 194) |
| HSL | hsl(306, 57%, 57%) |
| HSV | hsv(306, 60%, 81%) |
| CMYK | cmyk(0%, 60.4%, 6.3%, 18.8%) |
| CIE-LAB | lab(55.28, 62.69, -34.91) |
| CIE-LCH | lch(55.28, 71.75, 330.89°) |
| OKLab | oklab(64.08% 0.1793 -0.0956) |
| OKLCH | oklch(64.08% 0.203 331.9) |
| XYZ | xyz(38.4870, 23.1978, 53.4790) |
| Luminance | 0.2319 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 1.93
Purpleish Pink
#DF4EC8
ΔE00 2.67
Pinkish Purple
#D648D7
ΔE00 3.58
Purpley Pink
#C83CB9
ΔE00 4.66
Purplish Pink
#CE5DAE
ΔE00 4.82
Mediumorchid
#BA55D3
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF52C2 #52CF5F
analogous
#9E52CF #CF52C2 #CF5284
triadic
#CF52C2 #C2CF52 #52C2CF
tetradic
#CF52C2 #CF9E52 #52CF5F #5284CF
square
#CF52C2 #CF9E52 #52CF5F #5284CF
split-complementary
#CF52C2 #84CF52 #52CF9E
monochromatic
#822479 #B231A5 #CF52C2 #DC82D3 #EAB2E4
Accessibility & contrast
On white
3.72
#CF52C2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#CF52C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF52C2
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF52C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF52C2 | 1.00 | 3.72 | 5.64 | 5.64 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D79C5
Deuteranopia (green-blind)
#758BBF
Tritanopia (blue-blind)
#D75D83
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #cf52c2; /* rgb */ color: rgb(207, 82, 194); /* oklch */ color: oklch(64.1% 0.203 331.9);
Tailwind
colors: {
custom: {
50: '#e18ad5',
500: '#cf52c2',
950: '#000000',
},
}SCSS
$custom: #cf52c2; $custom-light: #e18ad5; $custom-dark: #000000;
JSON
{
"hex": "#cf52c2",
"rgb": {
"r": 207,
"g": 82,
"b": 194
},
"hsl": {
"h": 306.24,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.64076,
"c": 0.20317,
"h": 331.9
},
"luminance": 0.23195
}Semantic roles & 50–950 ramp
primary
#CF52C2
secondary
#A5D8AA
accent
#E05848
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83