#A24BB6#A24BB6
#A24BB6 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.6% C 0.178 H 319.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A24BB6 |
|---|---|
| RGB | rgb(162, 75, 182) |
| HSL | hsl(289, 42%, 50%) |
| HSV | hsv(289, 59%, 71%) |
| CMYK | cmyk(11%, 58.8%, 0%, 28.6%) |
| CIE-LAB | lab(47.10, 52.02, -41.28) |
| CIE-LCH | lch(47.10, 66.41, 321.57°) |
| OKLab | oklab(56.6% 0.1359 -0.1149) |
| OKLCH | oklch(56.6% 0.178 319.8) |
| XYZ | xyz(25.8588, 16.0921, 45.9909) |
| Luminance | 0.1609 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.69
Medium Purple
#9E43A2
ΔE00 4.00
Ugly Purple
#A442A0
ΔE00 4.60
Amethyst
#9B5FC0
ΔE00 5.35
Deep Lavender
#8D5EB7
ΔE00 6.18
Barney
#AC1DB8
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A24BB6 #5FB64B
analogous
#6C4BB6 #A24BB6 #B64B94
triadic
#A24BB6 #B6A24B #4BB6A2
tetradic
#A24BB6 #B66C4B #5FB64B #4B94B6
square
#A24BB6 #B66C4B #5FB64B #4B94B6
split-complementary
#A24BB6 #94B64B #4BB66C
monochromatic
#552760 #7C388B #A24BB6 #B877C8 #CFA2D9
Accessibility & contrast
On white
4.98
#A24BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#A24BB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A24BB6
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A24BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A24BB6 | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#336AB9
Deuteranopia (green-blind)
#5373B3
Tritanopia (blue-blind)
#A35C79
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #a24bb6; /* rgb */ color: rgb(162, 75, 182); /* oklch */ color: oklch(56.6% 0.178 319.8);
Tailwind
colors: {
custom: {
50: '#c082cc',
500: '#a24bb6',
950: '#000000',
},
}SCSS
$custom: #a24bb6; $custom-light: #c082cc; $custom-dark: #000000;
JSON
{
"hex": "#a24bb6",
"rgb": {
"r": 162,
"g": 75,
"b": 182
},
"hsl": {
"h": 288.785,
"s": 42.292,
"l": 50.392
},
"oklch": {
"l": 0.56603,
"c": 0.17801,
"h": 319.8
},
"luminance": 0.16091
}Semantic roles & 50–950 ramp
primary
#A24BB6
secondary
#9FC697
accent
#D2566D
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82