#8A2C99#8A2C99
#8A2C99 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.183 H 321.8°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2C99 |
|---|---|
| RGB | rgb(138, 44, 153) |
| HSL | hsl(292, 55%, 39%) |
| HSV | hsv(292, 71%, 60%) |
| CMYK | cmyk(9.8%, 71.2%, 0%, 40%) |
| CIE-LAB | lab(36.94, 54.25, -40.39) |
| CIE-LCH | lch(36.94, 67.63, 323.33°) |
| OKLab | oklab(48% 0.1435 -0.1128) |
| OKLCH | oklch(48% 0.183 321.8) |
| XYZ | xyz(17.1311, 9.5055, 31.0632) |
| Luminance | 0.0950 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.76
Purple (survey)
#7E1E9C
ΔE00 3.82
Barney Purple
#A00498
ΔE00 4.52
Darkmagenta
#8B008B
ΔE00 4.68
Purply
#983FB2
ΔE00 6.00
Purple
#800080
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2C99 #3B992C
analogous
#532C99 #8A2C99 #992C71
triadic
#8A2C99 #998A2C #2C998A
tetradic
#8A2C99 #99532C #3B992C #2C7199
square
#8A2C99 #99532C #3B992C #2C7199
split-complementary
#8A2C99 #71992C #2C9953
monochromatic
#34113A #5F1E69 #8A2C99 #B43BC7 #C66BD4
Accessibility & contrast
On white
7.24
#8A2C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#8A2C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2C99
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2C99 | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#3A5A96
Tritanopia (blue-blind)
#8C405F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8a2c99; /* rgb */ color: rgb(138, 44, 153); /* oklch */ color: oklch(48.0% 0.183 321.8);
Tailwind
colors: {
custom: {
50: '#af6eb7',
500: '#8a2c99',
950: '#000000',
},
}SCSS
$custom: #8a2c99; $custom-light: #af6eb7; $custom-dark: #000000;
JSON
{
"hex": "#8a2c99",
"rgb": {
"r": 138,
"g": 44,
"b": 153
},
"hsl": {
"h": 291.743,
"s": 55.33,
"l": 38.627
},
"oklch": {
"l": 0.48003,
"c": 0.18254,
"h": 321.8
},
"luminance": 0.09505
}Semantic roles & 50–950 ramp
primary
#8A2C99
secondary
#71BB66
accent
#DF495E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80