#8A46BA#8A46BA
#8A46BA is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.2% C 0.180 H 308.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8A46BA |
|---|---|
| RGB | rgb(138, 70, 186) |
| HSL | hsl(275, 46%, 50%) |
| HSV | hsv(275, 62%, 73%) |
| CMYK | cmyk(25.8%, 62.4%, 0%, 27.1%) |
| CIE-LAB | lab(43.26, 49.40, -49.93) |
| CIE-LCH | lch(43.26, 70.23, 314.69°) |
| OKLab | oklab(53.21% 0.112 -0.1409) |
| OKLCH | oklch(53.21% 0.18 308.5) |
| XYZ | xyz(21.5325, 13.3291, 47.8833) |
| Luminance | 0.1333 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.59
Darkorchid
#9932CC
ΔE00 4.28
Royal Purple
#7851A9
ΔE00 4.98
Deep Lavender
#8D5EB7
ΔE00 6.54
Blueviolet
#8A2BE2
ΔE00 6.85
Medium Purple
#9E43A2
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A46BA #76BA46
analogous
#5046BA #8A46BA #BA46B0
triadic
#8A46BA #BA8A46 #46BA8A
tetradic
#8A46BA #BA5046 #76BA46 #46B0BA
square
#8A46BA #BA5046 #76BA46 #46B0BA
split-complementary
#8A46BA #B0BA46 #46BA50
monochromatic
#482461 #69358E #8A46BA #A673CB #C29FDB
Accessibility & contrast
On white
5.73
#8A46BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#8A46BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A46BA
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A46BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A46BA | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0863BE
Deuteranopia (green-blind)
#3467B7
Tritanopia (blue-blind)
#835D79
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8a46ba; /* rgb */ color: rgb(138, 70, 186); /* oklch */ color: oklch(53.2% 0.180 308.5);
Tailwind
colors: {
custom: {
50: '#b07dcf',
500: '#8a46ba',
950: '#000000',
},
}SCSS
$custom: #8a46ba; $custom-light: #b07dcf; $custom-dark: #000000;
JSON
{
"hex": "#8a46ba",
"rgb": {
"r": 138,
"g": 70,
"b": 186
},
"hsl": {
"h": 275.172,
"s": 45.669,
"l": 50.196
},
"oklch": {
"l": 0.53212,
"c": 0.18002,
"h": 308.5
},
"luminance": 0.13329
}Semantic roles & 50–950 ramp
primary
#8A46BA
secondary
#A9C894
accent
#D55289
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82