#8A259B#8A259B
#8A259B is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.192 H 321.4°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8A259B |
|---|---|
| RGB | rgb(138, 37, 155) |
| HSL | hsl(291, 61%, 38%) |
| HSV | hsv(291, 76%, 61%) |
| CMYK | cmyk(11%, 76.1%, 0%, 39.2%) |
| CIE-LAB | lab(36.16, 57.19, -42.84) |
| CIE-LCH | lch(36.16, 71.46, 323.16°) |
| OKLab | oklab(47.49% 0.1503 -0.1199) |
| OKLCH | oklch(47.49% 0.192 321.4) |
| XYZ | xyz(17.0585, 9.0939, 31.8608) |
| Luminance | 0.0909 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.95
Darkmagenta
#8B008B
ΔE00 4.08
Barney Purple
#A00498
ΔE00 4.38
Warm Purple
#952E8F
ΔE00 4.50
Purple
#800080
ΔE00 5.86
Purply
#983FB2
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A259B #369B25
analogous
#4F259B #8A259B #9B2571
triadic
#8A259B #9B8A25 #259B8A
tetradic
#8A259B #9B4F25 #369B25 #25719B
square
#8A259B #9B4F25 #369B25 #25719B
split-complementary
#8A259B #719B25 #259B4F
monochromatic
#320D38 #5E196A #8A259B #B631CC #C861D9
Accessibility & contrast
On white
7.45
#8A259B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#8A259B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A259B
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A259B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A259B | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#345998
Tritanopia (blue-blind)
#8B3C5F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8a259b; /* rgb */ color: rgb(138, 37, 155); /* oklch */ color: oklch(47.5% 0.192 321.4);
Tailwind
colors: {
custom: {
50: '#b06bb9',
500: '#8a259b',
950: '#000000',
},
}SCSS
$custom: #8a259b; $custom-light: #b06bb9; $custom-dark: #000000;
JSON
{
"hex": "#8a259b",
"rgb": {
"r": 138,
"g": 37,
"b": 155
},
"hsl": {
"h": 291.356,
"s": 61.458,
"l": 37.647
},
"oklch": {
"l": 0.47491,
"c": 0.19228,
"h": 321.4
},
"luminance": 0.09093
}Semantic roles & 50–950 ramp
primary
#8A259B
secondary
#6BBF5D
accent
#E5435A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80