#8A24A1#8A24A1
#8A24A1 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.198 H 319.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #8A24A1 |
|---|---|
| RGB | rgb(138, 36, 161) |
| HSL | hsl(289, 63%, 39%) |
| HSV | hsv(289, 78%, 63%) |
| CMYK | cmyk(14.3%, 77.6%, 0%, 36.9%) |
| CIE-LAB | lab(36.44, 58.65, -46.03) |
| CIE-LCH | lch(36.44, 74.55, 321.88°) |
| OKLab | oklab(47.81% 0.1505 -0.1293) |
| OKLCH | oklch(47.81% 0.198 319.3) |
| XYZ | xyz(17.5443, 9.2391, 34.5705) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.65
Darkmagenta
#8B008B
ΔE00 4.80
Barney Purple
#A00498
ΔE00 4.91
Warm Purple
#952E8F
ΔE00 5.38
Purply
#983FB2
ΔE00 6.27
Barney
#AC1DB8
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A24A1 #3BA124
analogous
#4B24A1 #8A24A1 #A12479
triadic
#8A24A1 #A18A24 #24A18A
tetradic
#8A24A1 #A14B24 #3BA124 #2479A1
square
#8A24A1 #A14B24 #3BA124 #2479A1
split-complementary
#8A24A1 #79A124 #24A14B
monochromatic
#340E3D #5F196F #8A24A1 #B431D1 #C663DC
Accessibility & contrast
On white
7.37
#8A24A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#8A24A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A24A1
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A24A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A24A1 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#2E599E
Tritanopia (blue-blind)
#8A3F62
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8a24a1; /* rgb */ color: rgb(138, 36, 161); /* oklch */ color: oklch(47.8% 0.198 319.3);
Tailwind
colors: {
custom: {
50: '#b06bbd',
500: '#8a24a1',
950: '#000000',
},
}SCSS
$custom: #8a24a1; $custom-light: #b06bbd; $custom-dark: #000000;
JSON
{
"hex": "#8a24a1",
"rgb": {
"r": 138,
"g": 36,
"b": 161
},
"hsl": {
"h": 288.96,
"s": 63.452,
"l": 38.627
},
"oklch": {
"l": 0.47812,
"c": 0.19842,
"h": 319.3
},
"luminance": 0.09238
}Semantic roles & 50–950 ramp
primary
#8A24A1
secondary
#71C25F
accent
#E64160
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81