#8A289B#8A289B
#8A289B is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.189 H 321.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #8A289B |
|---|---|
| RGB | rgb(138, 40, 155) |
| HSL | hsl(291, 59%, 38%) |
| HSV | hsv(291, 74%, 61%) |
| CMYK | cmyk(11%, 74.2%, 0%, 39.2%) |
| CIE-LAB | lab(36.53, 56.13, -42.25) |
| CIE-LCH | lch(36.53, 70.26, 323.03°) |
| OKLab | oklab(47.75% 0.1475 -0.1182) |
| OKLCH | oklch(47.75% 0.189 321.3) |
| XYZ | xyz(17.1558, 9.2883, 31.8932) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.22
Warm Purple
#952E8F
ΔE00 4.29
Darkmagenta
#8B008B
ΔE00 4.39
Barney Purple
#A00498
ΔE00 4.46
Purple
#800080
ΔE00 6.14
Purply
#983FB2
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A289B #399B28
analogous
#50289B #8A289B #9B2872
triadic
#8A289B #9B8A28 #289B8A
tetradic
#8A289B #9B5028 #399B28 #28729B
square
#8A289B #9B5028 #399B28 #28729B
split-complementary
#8A289B #729B28 #289B50
monochromatic
#330F3A #5F1B6A #8A289B #B535CB #C766D7
Accessibility & contrast
On white
7.35
#8A289B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#8A289B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A289B
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A289B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A289B | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#365998
Tritanopia (blue-blind)
#8B3E5F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8a289b; /* rgb */ color: rgb(138, 40, 155); /* oklch */ color: oklch(47.8% 0.189 321.3);
Tailwind
colors: {
custom: {
50: '#b06cb9',
500: '#8a289b',
950: '#000000',
},
}SCSS
$custom: #8a289b; $custom-light: #b06cb9; $custom-dark: #000000;
JSON
{
"hex": "#8a289b",
"rgb": {
"r": 138,
"g": 40,
"b": 155
},
"hsl": {
"h": 291.13,
"s": 58.974,
"l": 38.235
},
"oklch": {
"l": 0.47753,
"c": 0.189,
"h": 321.3
},
"luminance": 0.09287
}Semantic roles & 50–950 ramp
primary
#8A289B
secondary
#6FBD61
accent
#E2465D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80