#8A519B#8A519B
#8A519B is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.0% C 0.128 H 318.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #8A519B |
|---|---|
| RGB | rgb(138, 81, 155) |
| HSL | hsl(286, 31%, 46%) |
| HSV | hsv(286, 48%, 61%) |
| CMYK | cmyk(11%, 47.7%, 0%, 39.2%) |
| CIE-LAB | lab(43.73, 36.61, -30.84) |
| CIE-LCH | lch(43.73, 47.86, 319.89°) |
| OKLab | oklab(53% 0.0951 -0.0853) |
| OKLCH | oklch(53% 0.128 318.1) |
| XYZ | xyz(19.3392, 13.6553, 32.6210) |
| Luminance | 0.1366 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 4.93
Light Eggplant
#894585
ΔE00 5.32
Purplish
#94568C
ΔE00 5.77
Ugly Purple
#A442A0
ΔE00 5.88
Royal Purple
#7851A9
ΔE00 5.96
Purply
#983FB2
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A519B #629B51
analogous
#65519B #8A519B #9B5187
triadic
#8A519B #9B8A51 #519B8A
tetradic
#8A519B #9B6551 #629B51 #51879B
square
#8A519B #9B6551 #629B51 #51879B
split-complementary
#8A519B #879B51 #519B65
monochromatic
#42274B #663C73 #8A519B #A773B6 #C09BCB
Accessibility & contrast
On white
5.63
#8A519B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#8A519B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A519B
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A519B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A519B | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#44649E
Deuteranopia (green-blind)
#546999
Tritanopia (blue-blind)
#8A5B6F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8a519b; /* rgb */ color: rgb(138, 81, 155); /* oklch */ color: oklch(53.0% 0.128 318.1);
Tailwind
colors: {
custom: {
50: '#ae84b9',
500: '#8a519b',
950: '#000000',
},
}SCSS
$custom: #8a519b; $custom-light: #ae84b9; $custom-dark: #000000;
JSON
{
"hex": "#8a519b",
"rgb": {
"r": 138,
"g": 81,
"b": 155
},
"hsl": {
"h": 286.216,
"s": 31.356,
"l": 46.275
},
"oklch": {
"l": 0.53003,
"c": 0.1278,
"h": 318.1
},
"luminance": 0.13655
}Semantic roles & 50–950 ramp
primary
#8A519B
secondary
#99B890
accent
#C86078
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80