#8A529B#8A529B
#8A529B is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.2% C 0.126 H 318.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8A529B |
|---|---|
| RGB | rgb(138, 82, 155) |
| HSL | hsl(286, 31%, 46%) |
| HSV | hsv(286, 47%, 61%) |
| CMYK | cmyk(11%, 47.1%, 0%, 39.2%) |
| CIE-LAB | lab(43.95, 36.05, -30.50) |
| CIE-LCH | lch(43.95, 47.22, 319.77°) |
| OKLab | oklab(53.16% 0.0936 -0.0844) |
| OKLCH | oklch(53.16% 0.126 318) |
| XYZ | xyz(19.4141, 13.8050, 32.6460) |
| Luminance | 0.1380 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 5.11
Light Eggplant
#894585
ΔE00 5.44
Purplish
#94568C
ΔE00 5.64
Royal Purple
#7851A9
ΔE00 6.01
Ugly Purple
#A442A0
ΔE00 6.02
Purpleish
#98568D
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A529B #639B52
analogous
#66529B #8A529B #9B5288
triadic
#8A529B #9B8A52 #529B8A
tetradic
#8A529B #9B6652 #639B52 #52889B
square
#8A529B #9B6652 #639B52 #52889B
split-complementary
#8A529B #889B52 #529B66
monochromatic
#43284B #663D73 #8A529B #A774B6 #C09DCB
Accessibility & contrast
On white
5.58
#8A529B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#8A529B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A529B
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A529B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A529B | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#45649E
Deuteranopia (green-blind)
#556A99
Tritanopia (blue-blind)
#8A5C6F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8a529b; /* rgb */ color: rgb(138, 82, 155); /* oklch */ color: oklch(53.2% 0.126 318.0);
Tailwind
colors: {
custom: {
50: '#ae84b9',
500: '#8a529b',
950: '#000000',
},
}SCSS
$custom: #8a529b; $custom-light: #ae84b9; $custom-dark: #000000;
JSON
{
"hex": "#8a529b",
"rgb": {
"r": 138,
"g": 82,
"b": 155
},
"hsl": {
"h": 286.027,
"s": 30.802,
"l": 46.471
},
"oklch": {
"l": 0.53165,
"c": 0.12604,
"h": 318
},
"luminance": 0.13804
}Semantic roles & 50–950 ramp
primary
#8A529B
secondary
#9AB891
accent
#C76179
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80