#8B41BE#8B41BE
#8B41BE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 53.0% C 0.192 H 308.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8B41BE |
|---|---|
| RGB | rgb(139, 65, 190) |
| HSL | hsl(276, 49%, 50%) |
| HSV | hsv(276, 66%, 75%) |
| CMYK | cmyk(26.8%, 65.8%, 0%, 25.5%) |
| CIE-LAB | lab(42.74, 52.99, -53.08) |
| CIE-LCH | lch(42.74, 75.01, 314.95°) |
| OKLab | oklab(52.95% 0.119 -0.1501) |
| OKLCH | oklch(52.95% 0.192 308.4) |
| XYZ | xyz(21.8301, 12.9876, 50.0621) |
| Luminance | 0.1299 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.28
Purply
#983FB2
ΔE00 3.74
Blueviolet
#8A2BE2
ΔE00 5.79
Royal Purple
#7851A9
ΔE00 5.94
Darkviolet
#9400D3
ΔE00 6.51
Barney
#AC1DB8
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B41BE #74BE41
analogous
#4C41BE #8B41BE #BE41B3
triadic
#8B41BE #BE8B41 #41BE8B
tetradic
#8B41BE #BE4C41 #74BE41 #41B3BE
square
#8B41BE #BE4C41 #74BE41 #41B3BE
split-complementary
#8B41BE #B3BE41 #41BE4C
monochromatic
#482263 #6A3190 #8B41BE #A76FCE #C39CDD
Accessibility & contrast
On white
5.84
#8B41BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#8B41BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B41BE
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B41BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B41BE | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#2A66BB
Tritanopia (blue-blind)
#835B7A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8b41be; /* rgb */ color: rgb(139, 65, 190); /* oklch */ color: oklch(53.0% 0.192 308.4);
Tailwind
colors: {
custom: {
50: '#b17bd2',
500: '#8b41be',
950: '#000000',
},
}SCSS
$custom: #8b41be; $custom-light: #b17bd2; $custom-dark: #000000;
JSON
{
"hex": "#8b41be",
"rgb": {
"r": 139,
"g": 65,
"b": 190
},
"hsl": {
"h": 275.52,
"s": 49.02,
"l": 50
},
"oklch": {
"l": 0.52953,
"c": 0.19158,
"h": 308.4
},
"luminance": 0.12987
}Semantic roles & 50–950 ramp
primary
#8B41BE
secondary
#A8C991
accent
#D94F87
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83