#8A299B#8A299B
#8A299B is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.8% C 0.188 H 321.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8A299B |
|---|---|
| RGB | rgb(138, 41, 155) |
| HSL | hsl(291, 58%, 38%) |
| HSV | hsv(291, 74%, 61%) |
| CMYK | cmyk(11%, 73.5%, 0%, 39.2%) |
| CIE-LAB | lab(36.66, 55.77, -42.04) |
| CIE-LCH | lch(36.66, 69.84, 322.99°) |
| OKLab | oklab(47.85% 0.1465 -0.1176) |
| OKLCH | oklch(47.85% 0.188 321.2) |
| XYZ | xyz(17.1899, 9.3566, 31.9046) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.33
Warm Purple
#952E8F
ΔE00 4.23
Darkmagenta
#8B008B
ΔE00 4.50
Barney Purple
#A00498
ΔE00 4.50
Purply
#983FB2
ΔE00 6.13
Purple
#800080
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A299B #3A9B29
analogous
#51299B #8A299B #9B2973
triadic
#8A299B #9B8A29 #299B8A
tetradic
#8A299B #9B5129 #3A9B29 #29739B
square
#8A299B #9B5129 #3A9B29 #29739B
split-complementary
#8A299B #739B29 #299B51
monochromatic
#340F3A #5F1C6B #8A299B #B437CA #C667D7
Accessibility & contrast
On white
7.31
#8A299B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#8A299B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A299B
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A299B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A299B | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#375A98
Tritanopia (blue-blind)
#8B3F60
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8a299b; /* rgb */ color: rgb(138, 41, 155); /* oklch */ color: oklch(47.8% 0.188 321.2);
Tailwind
colors: {
custom: {
50: '#b06db9',
500: '#8a299b',
950: '#000000',
},
}SCSS
$custom: #8a299b; $custom-light: #b06db9; $custom-dark: #000000;
JSON
{
"hex": "#8a299b",
"rgb": {
"r": 138,
"g": 41,
"b": 155
},
"hsl": {
"h": 291.053,
"s": 58.163,
"l": 38.431
},
"oklch": {
"l": 0.47845,
"c": 0.18786,
"h": 321.2
},
"luminance": 0.09356
}Semantic roles & 50–950 ramp
primary
#8A299B
secondary
#70BD63
accent
#E1465E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80