#8B41BF#8B41BF
#8B41BF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 53.0% C 0.193 H 308.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8B41BF |
|---|---|
| RGB | rgb(139, 65, 191) |
| HSL | hsl(275, 50%, 50%) |
| HSV | hsv(275, 66%, 75%) |
| CMYK | cmyk(27.2%, 66%, 0%, 25.1%) |
| CIE-LAB | lab(42.81, 53.22, -53.56) |
| CIE-LCH | lch(42.81, 75.50, 314.82°) |
| OKLab | oklab(53.02% 0.119 -0.1515) |
| OKLCH | oklch(53.02% 0.193 308.1) |
| XYZ | xyz(21.9398, 13.0315, 50.6396) |
| Luminance | 0.1303 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.22
Purply
#983FB2
ΔE00 3.86
Blueviolet
#8A2BE2
ΔE00 5.66
Royal Purple
#7851A9
ΔE00 6.00
Darkviolet
#9400D3
ΔE00 6.46
Violet (survey)
#9A0EEA
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B41BF #75BF41
analogous
#4C41BF #8B41BF #BF41B4
triadic
#8B41BF #BF8B41 #41BF8B
tetradic
#8B41BF #BF4C41 #75BF41 #41B4BF
square
#8B41BF #BF4C41 #75BF41 #41B4BF
split-complementary
#8B41BF #B4BF41 #41BF4C
monochromatic
#492264 #6A3192 #8B41BF #A76FCE #C39DDE
Accessibility & contrast
On white
5.82
#8B41BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#8B41BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B41BF
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B41BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B41BF | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#2866BC
Tritanopia (blue-blind)
#835C7A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8b41bf; /* rgb */ color: rgb(139, 65, 191); /* oklch */ color: oklch(53.0% 0.193 308.1);
Tailwind
colors: {
custom: {
50: '#b17bd3',
500: '#8b41bf',
950: '#000000',
},
}SCSS
$custom: #8b41bf; $custom-light: #b17bd3; $custom-dark: #000000;
JSON
{
"hex": "#8b41bf",
"rgb": {
"r": 139,
"g": 65,
"b": 191
},
"hsl": {
"h": 275.238,
"s": 49.606,
"l": 50.196
},
"oklch": {
"l": 0.53022,
"c": 0.19262,
"h": 308.1
},
"luminance": 0.13031
}Semantic roles & 50–950 ramp
primary
#8B41BF
secondary
#A9CA92
accent
#D94F88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83