#8A2C98#8A2C98
#8A2C98 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.9% C 0.182 H 322.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2C98 |
|---|---|
| RGB | rgb(138, 44, 152) |
| HSL | hsl(292, 55%, 38%) |
| HSV | hsv(292, 71%, 60%) |
| CMYK | cmyk(9.2%, 71.1%, 0%, 40.4%) |
| CIE-LAB | lab(36.88, 54.06, -39.88) |
| CIE-LCH | lch(36.88, 67.17, 323.58°) |
| OKLab | oklab(47.94% 0.1436 -0.1113) |
| OKLCH | oklch(47.94% 0.182 322.2) |
| XYZ | xyz(17.0488, 9.4726, 30.6301) |
| Luminance | 0.0947 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.61
Purple (survey)
#7E1E9C
ΔE00 3.91
Barney Purple
#A00498
ΔE00 4.46
Darkmagenta
#8B008B
ΔE00 4.59
Purply
#983FB2
ΔE00 6.10
Purple
#800080
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2C98 #3A982C
analogous
#542C98 #8A2C98 #982C70
triadic
#8A2C98 #988A2C #2C988A
tetradic
#8A2C98 #98542C #3A982C #2C7098
square
#8A2C98 #98542C #3A982C #2C7098
split-complementary
#8A2C98 #70982C #2C9854
monochromatic
#341139 #5F1E69 #8A2C98 #B43BC6 #C66AD4
Accessibility & contrast
On white
7.26
#8A2C98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#8A2C98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2C98
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2C98 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#03509B
Deuteranopia (green-blind)
#3B5A95
Tritanopia (blue-blind)
#8C3F5F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8a2c98; /* rgb */ color: rgb(138, 44, 152); /* oklch */ color: oklch(47.9% 0.182 322.2);
Tailwind
colors: {
custom: {
50: '#af6eb7',
500: '#8a2c98',
950: '#000000',
},
}SCSS
$custom: #8a2c98; $custom-light: #af6eb7; $custom-dark: #000000;
JSON
{
"hex": "#8a2c98",
"rgb": {
"r": 138,
"g": 44,
"b": 152
},
"hsl": {
"h": 292.222,
"s": 55.102,
"l": 38.431
},
"oklch": {
"l": 0.4794,
"c": 0.18166,
"h": 322.2
},
"luminance": 0.09472
}Semantic roles & 50–950 ramp
primary
#8A2C98
secondary
#70BB65
accent
#DE495D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80