#8B41BD#8B41BD
#8B41BD is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.9% C 0.191 H 308.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8B41BD |
|---|---|
| RGB | rgb(139, 65, 189) |
| HSL | hsl(276, 49%, 50%) |
| HSV | hsv(276, 66%, 74%) |
| CMYK | cmyk(26.5%, 65.6%, 0%, 25.9%) |
| CIE-LAB | lab(42.68, 52.77, -52.60) |
| CIE-LCH | lch(42.68, 74.51, 315.09°) |
| OKLab | oklab(52.89% 0.1191 -0.1487) |
| OKLCH | oklch(52.89% 0.191 308.7) |
| XYZ | xyz(21.7212, 12.9440, 49.4884) |
| Luminance | 0.1294 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.35
Purply
#983FB2
ΔE00 3.63
Royal Purple
#7851A9
ΔE00 5.88
Blueviolet
#8A2BE2
ΔE00 5.93
Darkviolet
#9400D3
ΔE00 6.56
Barney
#AC1DB8
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B41BD #73BD41
analogous
#4D41BD #8B41BD #BD41B1
triadic
#8B41BD #BD8B41 #41BD8B
tetradic
#8B41BD #BD4D41 #73BD41 #41B1BD
square
#8B41BD #BD4D41 #73BD41 #41B1BD
split-complementary
#8B41BD #B1BD41 #41BD4D
monochromatic
#482262 #6A318F #8B41BD #A76ECD #C39CDD
Accessibility & contrast
On white
5.85
#8B41BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#8B41BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B41BD
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B41BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B41BD | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#2B66BA
Tritanopia (blue-blind)
#845B79
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8b41bd; /* rgb */ color: rgb(139, 65, 189); /* oklch */ color: oklch(52.9% 0.191 308.7);
Tailwind
colors: {
custom: {
50: '#b17ad2',
500: '#8b41bd',
950: '#000000',
},
}SCSS
$custom: #8b41bd; $custom-light: #b17ad2; $custom-dark: #000000;
JSON
{
"hex": "#8b41bd",
"rgb": {
"r": 139,
"g": 65,
"b": 189
},
"hsl": {
"h": 275.806,
"s": 48.819,
"l": 49.804
},
"oklch": {
"l": 0.52885,
"c": 0.19052,
"h": 308.7
},
"luminance": 0.12944
}Semantic roles & 50–950 ramp
primary
#8B41BD
secondary
#A7C991
accent
#D84F87
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82