#A24EC7#A24EC7
#A24EC7 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.0% C 0.191 H 314.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A24EC7 |
|---|---|
| RGB | rgb(162, 78, 199) |
| HSL | hsl(282, 52%, 54%) |
| HSV | hsv(282, 61%, 78%) |
| CMYK | cmyk(18.6%, 60.8%, 0%, 22%) |
| CIE-LAB | lab(48.58, 54.06, -48.78) |
| CIE-LCH | lch(48.58, 72.82, 317.94°) |
| OKLab | oklab(57.99% 0.1326 -0.1369) |
| OKLCH | oklch(57.99% 0.191 314.1) |
| XYZ | xyz(27.9318, 17.2545, 55.8808) |
| Luminance | 0.1725 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.27
Lightish Purple
#A552E6
ΔE00 4.99
Purply
#983FB2
ΔE00 5.23
Mediumorchid
#BA55D3
ΔE00 5.47
Deep Lavender
#8D5EB7
ΔE00 5.67
Darkorchid
#9932CC
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A24EC7 #73C74E
analogous
#664EC7 #A24EC7 #C74EB0
triadic
#A24EC7 #C7A24E #4EC7A2
tetradic
#A24EC7 #C7664E #73C74E #4EB0C7
square
#A24EC7 #C7664E #73C74E #4EB0C7
split-complementary
#A24EC7 #B0C74E #4EC766
monochromatic
#5D2575 #8234A4 #A24EC7 #BA7CD6 #D3ABE4
Accessibility & contrast
On white
4.72
#A24EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#A24EC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A24EC7
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A24EC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A24EC7 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#256FCB
Deuteranopia (green-blind)
#4A75C4
Tritanopia (blue-blind)
#9F6483
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #a24ec7; /* rgb */ color: rgb(162, 78, 199); /* oklch */ color: oklch(58.0% 0.191 314.1);
Tailwind
colors: {
custom: {
50: '#c184d8',
500: '#a24ec7',
950: '#000000',
},
}SCSS
$custom: #a24ec7; $custom-light: #c184d8; $custom-dark: #000000;
JSON
{
"hex": "#a24ec7",
"rgb": {
"r": 162,
"g": 78,
"b": 199
},
"hsl": {
"h": 281.653,
"s": 51.931,
"l": 54.314
},
"oklch": {
"l": 0.57991,
"c": 0.19058,
"h": 314.1
},
"luminance": 0.17254
}Semantic roles & 50–950 ramp
primary
#A24EC7
secondary
#AED29F
accent
#DB4C78
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B15
muted
#827C83