#A24FE3#A24FE3
#A24FE3 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.9% C 0.218 H 306.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A24FE3 |
|---|---|
| RGB | rgb(162, 79, 227) |
| HSL | hsl(274, 73%, 60%) |
| HSV | hsv(274, 65%, 89%) |
| CMYK | cmyk(28.6%, 65.2%, 0%, 11%) |
| CIE-LAB | lab(50.48, 59.70, -61.72) |
| CIE-LCH | lch(50.48, 85.87, 314.04°) |
| OKLab | oklab(59.91% 0.1303 -0.1748) |
| OKLCH | oklch(59.91% 0.218 306.7) |
| XYZ | xyz(31.5585, 18.8197, 74.6282) |
| Luminance | 0.1882 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.07
Lighter Purple
#A55AF4
ΔE00 3.77
Purpley
#8756E4
ΔE00 4.96
Electric Purple
#AA23FF
ΔE00 5.83
Mediumorchid
#BA55D3
ΔE00 6.21
Neon Purple
#BC13FE
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A24FE3 #90E34F
analogous
#584FE3 #A24FE3 #E34FDA
triadic
#A24FE3 #E3A24F #4FE3A2
tetradic
#A24FE3 #E3584F #90E34F #4FDAE3
square
#A24FE3 #E3584F #90E34F #4FDAE3
split-complementary
#A24FE3 #DAE34F #4FE358
monochromatic
#64199E #8522D3 #A24FE3 #BE84EB #DAB9F4
Accessibility & contrast
On white
4.41
#A24FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#A24FE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A24FE3
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A24FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A24FE3 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#2C79E0
Tritanopia (blue-blind)
#976F92
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #a24fe3; /* rgb */ color: rgb(162, 79, 227); /* oklch */ color: oklch(59.9% 0.218 306.7);
Tailwind
colors: {
custom: {
50: '#c285ed',
500: '#a24fe3',
950: '#000000',
},
}SCSS
$custom: #a24fe3; $custom-light: #c285ed; $custom-dark: #000000;
JSON
{
"hex": "#a24fe3",
"rgb": {
"r": 162,
"g": 79,
"b": 227
},
"hsl": {
"h": 273.649,
"s": 72.549,
"l": 60
},
"oklch": {
"l": 0.59913,
"c": 0.21803,
"h": 306.7
},
"luminance": 0.18819
}Semantic roles & 50–950 ramp
primary
#A24FE3
secondary
#C3E3AA
accent
#EF3989
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84