#8A49BA#8A49BA
#8A49BA is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.6% C 0.176 H 308.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #8A49BA |
|---|---|
| RGB | rgb(138, 73, 186) |
| HSL | hsl(275, 45%, 51%) |
| HSV | hsv(275, 61%, 73%) |
| CMYK | cmyk(25.8%, 60.8%, 0%, 27.1%) |
| CIE-LAB | lab(43.82, 47.87, -49.02) |
| CIE-LCH | lch(43.82, 68.52, 314.32°) |
| OKLab | oklab(53.62% 0.1083 -0.1383) |
| OKLCH | oklch(53.62% 0.176 308.1) |
| XYZ | xyz(21.7249, 13.7138, 47.9474) |
| Luminance | 0.1371 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.83
Royal Purple
#7851A9
ΔE00 4.65
Darkorchid
#9932CC
ΔE00 4.75
Deep Lavender
#8D5EB7
ΔE00 5.86
Medium Purple
#9E43A2
ΔE00 7.02
Amethyst
#9B5FC0
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A49BA #79BA49
analogous
#5149BA #8A49BA #BA49B2
triadic
#8A49BA #BA8A49 #49BA8A
tetradic
#8A49BA #BA5149 #79BA49 #49B2BA
square
#8A49BA #BA5149 #79BA49 #49B2BA
split-complementary
#8A49BA #B2BA49 #49BA51
monochromatic
#492663 #6A368F #8A49BA #A775CB #C3A2DC
Accessibility & contrast
On white
5.61
#8A49BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#8A49BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A49BA
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A49BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A49BA | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1665BE
Deuteranopia (green-blind)
#3768B7
Tritanopia (blue-blind)
#835F7B
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8a49ba; /* rgb */ color: rgb(138, 73, 186); /* oklch */ color: oklch(53.6% 0.176 308.1);
Tailwind
colors: {
custom: {
50: '#af7fcf',
500: '#8a49ba',
950: '#000000',
},
}SCSS
$custom: #8a49ba; $custom-light: #af7fcf; $custom-dark: #000000;
JSON
{
"hex": "#8a49ba",
"rgb": {
"r": 138,
"g": 73,
"b": 186
},
"hsl": {
"h": 274.513,
"s": 45.02,
"l": 50.784
},
"oklch": {
"l": 0.53622,
"c": 0.17566,
"h": 308.1
},
"luminance": 0.13714
}Semantic roles & 50–950 ramp
primary
#8A49BA
secondary
#ACC896
accent
#D5538A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82