#8B46BD#8B46BD
#8B46BD is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.184 H 308.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8B46BD |
|---|---|
| RGB | rgb(139, 70, 189) |
| HSL | hsl(275, 47%, 51%) |
| HSV | hsv(275, 63%, 74%) |
| CMYK | cmyk(26.5%, 63%, 0%, 25.9%) |
| CIE-LAB | lab(43.57, 50.32, -51.17) |
| CIE-LCH | lch(43.57, 71.76, 314.52°) |
| OKLab | oklab(53.53% 0.1132 -0.1445) |
| OKLCH | oklch(53.53% 0.184 308.1) |
| XYZ | xyz(22.0211, 13.5437, 49.5884) |
| Luminance | 0.1354 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.75
Darkorchid
#9932CC
ΔE00 4.00
Royal Purple
#7851A9
ΔE00 5.28
Blueviolet
#8A2BE2
ΔE00 6.53
Deep Lavender
#8D5EB7
ΔE00 6.55
Medium Purple
#9E43A2
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B46BD #78BD46
analogous
#4F46BD #8B46BD #BD46B3
triadic
#8B46BD #BD8B46 #46BD8B
tetradic
#8B46BD #BD4F46 #78BD46 #46B3BD
square
#8B46BD #BD4F46 #78BD46 #46B3BD
split-complementary
#8B46BD #B3BD46 #46BD4F
monochromatic
#492465 #6A3492 #8B46BD #A773CD #C4A0DD
Accessibility & contrast
On white
5.66
#8B46BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#8B46BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B46BD
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B46BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B46BD | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#3268BA
Tritanopia (blue-blind)
#835E7B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8b46bd; /* rgb */ color: rgb(139, 70, 189); /* oklch */ color: oklch(53.5% 0.184 308.1);
Tailwind
colors: {
custom: {
50: '#b07dd1',
500: '#8b46bd',
950: '#000000',
},
}SCSS
$custom: #8b46bd; $custom-light: #b07dd1; $custom-dark: #000000;
JSON
{
"hex": "#8b46bd",
"rgb": {
"r": 139,
"g": 70,
"b": 189
},
"hsl": {
"h": 274.79,
"s": 47.41,
"l": 50.784
},
"oklch": {
"l": 0.53529,
"c": 0.18359,
"h": 308.1
},
"luminance": 0.13543
}Semantic roles & 50–950 ramp
primary
#8B46BD
secondary
#ABCA95
accent
#D75189
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82