#8A49BB#8A49BB
#8A49BB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.7% C 0.177 H 307.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8A49BB |
|---|---|
| RGB | rgb(138, 73, 187) |
| HSL | hsl(274, 46%, 51%) |
| HSV | hsv(274, 61%, 73%) |
| CMYK | cmyk(26.2%, 61%, 0%, 26.7%) |
| CIE-LAB | lab(43.88, 48.10, -49.51) |
| CIE-LCH | lch(43.88, 69.03, 314.17°) |
| OKLab | oklab(53.69% 0.1083 -0.1397) |
| OKLCH | oklch(53.69% 0.177 307.8) |
| XYZ | xyz(21.8316, 13.7565, 48.5092) |
| Luminance | 0.1376 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.92
Darkorchid
#9932CC
ΔE00 4.68
Royal Purple
#7851A9
ΔE00 4.72
Deep Lavender
#8D5EB7
ΔE00 5.88
Medium Purple
#9E43A2
ΔE00 7.15
Blueviolet
#8A2BE2
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A49BB #7ABB49
analogous
#5149BB #8A49BB #BB49B3
triadic
#8A49BB #BB8A49 #49BB8A
tetradic
#8A49BB #BB5149 #7ABB49 #49B3BB
square
#8A49BB #BB5149 #7ABB49 #49B3BB
split-complementary
#8A49BB #B3BB49 #49BB51
monochromatic
#492564 #6A3691 #8A49BB #A776CC #C3A2DC
Accessibility & contrast
On white
5.60
#8A49BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#8A49BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A49BB
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A49BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A49BB | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1465BF
Deuteranopia (green-blind)
#3668B8
Tritanopia (blue-blind)
#835F7B
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8a49bb; /* rgb */ color: rgb(138, 73, 187); /* oklch */ color: oklch(53.7% 0.177 307.8);
Tailwind
colors: {
custom: {
50: '#b07fd0',
500: '#8a49bb',
950: '#000000',
},
}SCSS
$custom: #8a49bb; $custom-light: #b07fd0; $custom-dark: #000000;
JSON
{
"hex": "#8a49bb",
"rgb": {
"r": 138,
"g": 73,
"b": 187
},
"hsl": {
"h": 274.211,
"s": 45.6,
"l": 50.98
},
"oklch": {
"l": 0.53687,
"c": 0.17677,
"h": 307.8
},
"luminance": 0.13756
}Semantic roles & 50–950 ramp
primary
#8A49BB
secondary
#ACC997
accent
#D5538B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82