#A24BB1#A24BB1
#A24BB1 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.3% C 0.173 H 321.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A24BB1 |
|---|---|
| RGB | rgb(162, 75, 177) |
| HSL | hsl(291, 40%, 49%) |
| HSV | hsv(291, 58%, 69%) |
| CMYK | cmyk(8.5%, 57.6%, 0%, 30.6%) |
| CIE-LAB | lab(46.83, 51.04, -38.77) |
| CIE-LCH | lch(46.83, 64.10, 322.78°) |
| OKLab | oklab(56.32% 0.1356 -0.1077) |
| OKLCH | oklch(56.32% 0.173 321.5) |
| XYZ | xyz(25.3513, 15.8891, 43.3180) |
| Luminance | 0.1589 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.23
Ugly Purple
#A442A0
ΔE00 3.75
Purply
#983FB2
ΔE00 3.85
Amethyst
#9B5FC0
ΔE00 5.80
Barney
#AC1DB8
ΔE00 6.41
Deep Lavender
#8D5EB7
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A24BB1 #5AB14B
analogous
#6F4BB1 #A24BB1 #B14B8D
triadic
#A24BB1 #B1A24B #4BB1A2
tetradic
#A24BB1 #B16F4B #5AB14B #4B8DB1
square
#A24BB1 #B16F4B #5AB14B #4B8DB1
split-complementary
#A24BB1 #8DB14B #4BB16F
monochromatic
#53275B #7B3986 #A24BB1 #B975C4 #CFA0D7
Accessibility & contrast
On white
5.03
#A24BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#A24BB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A24BB1
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A24BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A24BB1 | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3869B4
Deuteranopia (green-blind)
#5672AE
Tritanopia (blue-blind)
#A45A77
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a24bb1; /* rgb */ color: rgb(162, 75, 177); /* oklch */ color: oklch(56.3% 0.173 321.5);
Tailwind
colors: {
custom: {
50: '#c082c9',
500: '#a24bb1',
950: '#000000',
},
}SCSS
$custom: #a24bb1; $custom-light: #c082c9; $custom-dark: #000000;
JSON
{
"hex": "#a24bb1",
"rgb": {
"r": 162,
"g": 75,
"b": 177
},
"hsl": {
"h": 291.176,
"s": 40.476,
"l": 49.412
},
"oklch": {
"l": 0.56322,
"c": 0.17315,
"h": 321.5
},
"luminance": 0.15888
}Semantic roles & 50–950 ramp
primary
#A24BB1
secondary
#9BC394
accent
#D05769
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82