#C04AE2#C04AE2
#C04AE2 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 63.0% C 0.233 H 317.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #C04AE2 |
|---|---|
| RGB | rgb(192, 74, 226) |
| HSL | hsl(287, 72%, 59%) |
| HSV | hsv(287, 67%, 89%) |
| CMYK | cmyk(15%, 67.3%, 0%, 11.4%) |
| CIE-LAB | lab(53.60, 68.08, -55.93) |
| CIE-LCH | lch(53.60, 88.11, 320.59°) |
| OKLab | oklab(62.97% 0.1728 -0.1569) |
| OKLCH | oklch(62.97% 0.233 317.8) |
| XYZ | xyz(37.9125, 21.5966, 74.1083) |
| Luminance | 0.2160 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.69
Purple Pink
#D725DE
ΔE00 4.47
Pinkish Purple
#D648D7
ΔE00 4.82
Lightish Purple
#A552E6
ΔE00 4.96
Heliotrope
#D94FF5
ΔE00 5.22
Hot Purple
#CB00F5
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C04AE2 #6CE24A
analogous
#744AE2 #C04AE2 #E24AB8
triadic
#C04AE2 #E2C04A #4AE2C0
tetradic
#C04AE2 #E2744A #6CE24A #4AB8E2
square
#C04AE2 #E2744A #6CE24A #4AB8E2
split-complementary
#C04AE2 #B8E24A #4AE274
monochromatic
#7C1999 #A721CE #C04AE2 #D27FEA #E5B3F3
Accessibility & contrast
On white
3.95
#C04AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#C04AE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C04AE2
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C04AE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C04AE2 | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#4F84DE
Tritanopia (blue-blind)
#BF6790
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #c04ae2; /* rgb */ color: rgb(192, 74, 226); /* oklch */ color: oklch(63.0% 0.233 317.8);
Tailwind
colors: {
custom: {
50: '#d785ec',
500: '#c04ae2',
950: '#000000',
},
}SCSS
$custom: #c04ae2; $custom-light: #d785ec; $custom-dark: #000000;
JSON
{
"hex": "#c04ae2",
"rgb": {
"r": 192,
"g": 74,
"b": 226
},
"hsl": {
"h": 286.579,
"s": 72.381,
"l": 58.824
},
"oklch": {
"l": 0.62966,
"c": 0.23339,
"h": 317.8
},
"luminance": 0.21595
}Semantic roles & 50–950 ramp
primary
#C04AE2
secondary
#B3E2A6
accent
#EF3962
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84