#CA45E2#CA45E2
#CA45E2 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.8% C 0.243 H 321.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #CA45E2 |
|---|---|
| RGB | rgb(202, 69, 226) |
| HSL | hsl(291, 73%, 58%) |
| HSV | hsv(291, 69%, 89%) |
| CMYK | cmyk(10.6%, 69.5%, 0%, 11.4%) |
| CIE-LAB | lab(54.35, 72.12, -54.65) |
| CIE-LCH | lch(54.35, 90.48, 322.85°) |
| OKLab | oklab(63.8% 0.1894 -0.1528) |
| OKLCH | oklch(63.8% 0.243 321.1) |
| XYZ | xyz(40.2111, 22.3059, 74.1242) |
| Luminance | 0.2230 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple Pink
#D725DE
ΔE00 3.22
Mediumorchid
#BA55D3
ΔE00 3.31
Pinkish Purple
#D648D7
ΔE00 3.37
Heliotrope
#D94FF5
ΔE00 4.31
Hot Purple
#CB00F5
ΔE00 5.37
Pink Purple
#EF1DE7
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA45E2 #5DE245
analogous
#7B45E2 #CA45E2 #E245AB
triadic
#CA45E2 #E2CA45 #45E2CA
tetradic
#CA45E2 #E27B45 #5DE245 #45ABE2
square
#CA45E2 #E27B45 #5DE245 #45ABE2
split-complementary
#CA45E2 #ABE245 #45E27B
monochromatic
#821795 #B020CA #CA45E2 #D97AEA #E8AFF3
Accessibility & contrast
On white
3.85
#CA45E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#CA45E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA45E2
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA45E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA45E2 | 1.00 | 3.85 | 5.46 | 5.46 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#5787DE
Tritanopia (blue-blind)
#CC628F
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #ca45e2; /* rgb */ color: rgb(202, 69, 226); /* oklch */ color: oklch(63.8% 0.243 321.1);
Tailwind
colors: {
custom: {
50: '#de84ec',
500: '#ca45e2',
950: '#000000',
},
}SCSS
$custom: #ca45e2; $custom-light: #de84ec; $custom-dark: #000000;
JSON
{
"hex": "#ca45e2",
"rgb": {
"r": 202,
"g": 69,
"b": 226
},
"hsl": {
"h": 290.828,
"s": 73.023,
"l": 57.843
},
"oklch": {
"l": 0.63796,
"c": 0.24337,
"h": 321.1
},
"luminance": 0.22304
}Semantic roles & 50–950 ramp
primary
#CA45E2
secondary
#ACE1A2
accent
#F03854
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84