#8B46BE#8B46BE
#8B46BE is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.6% C 0.185 H 307.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8B46BE |
|---|---|
| RGB | rgb(139, 70, 190) |
| HSL | hsl(275, 48%, 51%) |
| HSV | hsv(275, 63%, 75%) |
| CMYK | cmyk(26.8%, 63.2%, 0%, 25.5%) |
| CIE-LAB | lab(43.64, 50.55, -51.65) |
| CIE-LCH | lch(43.64, 72.27, 314.38°) |
| OKLab | oklab(53.6% 0.1132 -0.1459) |
| OKLCH | oklch(53.6% 0.185 307.8) |
| XYZ | xyz(22.1300, 13.5873, 50.1620) |
| Luminance | 0.1359 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.87
Darkorchid
#9932CC
ΔE00 3.94
Royal Purple
#7851A9
ΔE00 5.35
Blueviolet
#8A2BE2
ΔE00 6.40
Deep Lavender
#8D5EB7
ΔE00 6.58
Medium Purple
#9E43A2
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B46BE #79BE46
analogous
#4F46BE #8B46BE #BE46B5
triadic
#8B46BE #BE8B46 #46BE8B
tetradic
#8B46BE #BE4F46 #79BE46 #46B5BE
square
#8B46BE #BE4F46 #79BE46 #46B5BE
split-complementary
#8B46BE #B5BE46 #46BE4F
monochromatic
#4A2466 #6B3493 #8B46BE #A773CE #C4A1DE
Accessibility & contrast
On white
5.65
#8B46BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#8B46BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B46BE
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B46BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B46BE | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#3168BB
Tritanopia (blue-blind)
#835E7C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8b46be; /* rgb */ color: rgb(139, 70, 190); /* oklch */ color: oklch(53.6% 0.185 307.8);
Tailwind
colors: {
custom: {
50: '#b17dd2',
500: '#8b46be',
950: '#000000',
},
}SCSS
$custom: #8b46be; $custom-light: #b17dd2; $custom-dark: #000000;
JSON
{
"hex": "#8b46be",
"rgb": {
"r": 139,
"g": 70,
"b": 190
},
"hsl": {
"h": 274.5,
"s": 48,
"l": 50.98
},
"oklch": {
"l": 0.53596,
"c": 0.18467,
"h": 307.8
},
"luminance": 0.13587
}Semantic roles & 50–950 ramp
primary
#8B46BE
secondary
#ACCA95
accent
#D8508A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83