#8A499B#8A499B
#8A499B is a mid, vivid purple. Relative luminance 0.125; OKLCH L 51.8% C 0.142 H 319.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8A499B |
|---|---|
| RGB | rgb(138, 73, 155) |
| HSL | hsl(288, 36%, 45%) |
| HSV | hsv(288, 53%, 61%) |
| CMYK | cmyk(11%, 52.9%, 0%, 39.2%) |
| CIE-LAB | lab(42.05, 40.98, -33.48) |
| CIE-LCH | lch(42.05, 52.92, 320.76°) |
| OKLab | oklab(51.76% 0.1068 -0.0929) |
| OKLCH | oklch(51.76% 0.142 319) |
| XYZ | xyz(18.7794, 12.5356, 32.4344) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 4.02
Purply
#983FB2
ΔE00 4.82
Light Eggplant
#894585
ΔE00 4.84
Ugly Purple
#A442A0
ΔE00 5.23
Royal Purple
#7851A9
ΔE00 6.01
Warm Purple
#952E8F
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A499B #5A9B49
analogous
#61499B #8A499B #9B4983
triadic
#8A499B #9B8A49 #499B8A
tetradic
#8A499B #9B6149 #5A9B49 #49839B
square
#8A499B #9B6149 #5A9B49 #49839B
split-complementary
#8A499B #839B49 #499B61
monochromatic
#402248 #653571 #8A499B #A869B8 #C093CC
Accessibility & contrast
On white
5.99
#8A499B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#8A499B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A499B
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A499B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A499B | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A5F9E
Deuteranopia (green-blind)
#4E6699
Tritanopia (blue-blind)
#8A556B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8a499b; /* rgb */ color: rgb(138, 73, 155); /* oklch */ color: oklch(51.8% 0.142 319.0);
Tailwind
colors: {
custom: {
50: '#ae7eb9',
500: '#8a499b',
950: '#000000',
},
}SCSS
$custom: #8a499b; $custom-light: #ae7eb9; $custom-dark: #000000;
JSON
{
"hex": "#8a499b",
"rgb": {
"r": 138,
"g": 73,
"b": 155
},
"hsl": {
"h": 287.561,
"s": 35.965,
"l": 44.706
},
"oklch": {
"l": 0.51759,
"c": 0.14159,
"h": 319
},
"luminance": 0.12535
}Semantic roles & 50–950 ramp
primary
#8A499B
secondary
#92B888
accent
#CC5C73
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#100A11
muted
#7F7C80