#8B41B8#8B41B8
#8B41B8 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.5% C 0.185 H 310.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8B41B8 |
|---|---|
| RGB | rgb(139, 65, 184) |
| HSL | hsl(277, 48%, 49%) |
| HSV | hsv(277, 65%, 72%) |
| CMYK | cmyk(24.5%, 64.7%, 0%, 27.8%) |
| CIE-LAB | lab(42.35, 51.64, -50.19) |
| CIE-LCH | lch(42.35, 72.02, 315.81°) |
| OKLab | oklab(52.55% 0.1194 -0.1416) |
| OKLCH | oklch(52.55% 0.185 310.1) |
| XYZ | xyz(21.1878, 12.7307, 46.6792) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.09
Darkorchid
#9932CC
ΔE00 3.79
Royal Purple
#7851A9
ΔE00 5.64
Blueviolet
#8A2BE2
ΔE00 6.63
Barney
#AC1DB8
ΔE00 6.64
Medium Purple
#9E43A2
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B41B8 #6EB841
analogous
#5041B8 #8B41B8 #B841AA
triadic
#8B41B8 #B88B41 #41B88B
tetradic
#8B41B8 #B85041 #6EB841 #41AAB8
square
#8B41B8 #B85041 #6EB841 #41AAB8
split-complementary
#8B41B8 #AAB841 #41B850
monochromatic
#47215E #69318B #8B41B8 #A76BCB #C299DB
Accessibility & contrast
On white
5.92
#8B41B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#8B41B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B41B8
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B41B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B41B8 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#3165B5
Tritanopia (blue-blind)
#855977
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8b41b8; /* rgb */ color: rgb(139, 65, 184); /* oklch */ color: oklch(52.5% 0.185 310.1);
Tailwind
colors: {
custom: {
50: '#b07ace',
500: '#8b41b8',
950: '#000000',
},
}SCSS
$custom: #8b41b8; $custom-light: #b07ace; $custom-dark: #000000;
JSON
{
"hex": "#8b41b8",
"rgb": {
"r": 139,
"g": 65,
"b": 184
},
"hsl": {
"h": 277.311,
"s": 47.791,
"l": 48.824
},
"oklch": {
"l": 0.52548,
"c": 0.18527,
"h": 310.1
},
"luminance": 0.1273
}Semantic roles & 50–950 ramp
primary
#8B41B8
secondary
#A4C78E
accent
#D75083
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82