#CA52DF#CA52DF
#CA52DF is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.9% C 0.225 H 321.4°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CA52DF |
|---|---|
| RGB | rgb(202, 82, 223) |
| HSL | hsl(291, 69%, 60%) |
| HSV | hsv(291, 63%, 87%) |
| CMYK | cmyk(9.4%, 63.2%, 0%, 12.5%) |
| CIE-LAB | lab(56.01, 66.46, -50.31) |
| CIE-LCH | lch(56.01, 83.36, 322.88°) |
| OKLab | oklab(64.93% 0.1757 -0.1402) |
| OKLCH | oklch(64.93% 0.225 321.4) |
| XYZ | xyz(40.6922, 23.9209, 72.2715) |
| Luminance | 0.2392 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Purple
#D648D7
ΔE00 2.76
Mediumorchid
#BA55D3
ΔE00 2.95
Heliotrope
#D94FF5
ΔE00 3.51
Bright Lilac
#C95EFB
ΔE00 4.82
Purple Pink
#D725DE
ΔE00 4.84
Bright Lavender
#C760FF
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA52DF #67DF52
analogous
#8452DF #CA52DF #DF52AD
triadic
#CA52DF #DFCA52 #52DFCA
tetradic
#CA52DF #DF8452 #67DF52 #52ADDF
square
#CA52DF #DF8452 #67DF52 #52ADDF
split-complementary
#CA52DF #ADDF52 #52DF84
monochromatic
#871D9A #B526CE #CA52DF #DA86E9 #EAB9F2
Accessibility & contrast
On white
3.63
#CA52DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#CA52DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA52DF
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA52DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA52DF | 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)
#2E7EE3
Deuteranopia (green-blind)
#628BDB
Tritanopia (blue-blind)
#CC6992
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #ca52df; /* rgb */ color: rgb(202, 82, 223); /* oklch */ color: oklch(64.9% 0.225 321.4);
Tailwind
colors: {
custom: {
50: '#dd8ae9',
500: '#ca52df',
950: '#000000',
},
}SCSS
$custom: #ca52df; $custom-light: #dd8ae9; $custom-dark: #000000;
JSON
{
"hex": "#ca52df",
"rgb": {
"r": 202,
"g": 82,
"b": 223
},
"hsl": {
"h": 291.064,
"s": 68.78,
"l": 59.804
},
"oklch": {
"l": 0.64934,
"c": 0.2248,
"h": 321.4
},
"luminance": 0.23919
}Semantic roles & 50–950 ramp
primary
#CA52DF
secondary
#B3E2AB
accent
#EC3C56
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84