#8B3BB7#8B3BB7
#8B3BB7 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.7% C 0.192 H 311.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8B3BB7 |
|---|---|
| RGB | rgb(139, 59, 183) |
| HSL | hsl(279, 51%, 47%) |
| HSV | hsv(279, 68%, 72%) |
| CMYK | cmyk(24%, 67.8%, 0%, 28.2%) |
| CIE-LAB | lab(41.27, 54.23, -51.34) |
| CIE-LCH | lch(41.27, 74.68, 316.57°) |
| OKLab | oklab(51.75% 0.1264 -0.145) |
| OKLCH | oklch(51.75% 0.192 311.1) |
| XYZ | xyz(20.7571, 12.0363, 46.0203) |
| Luminance | 0.1204 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.31
Darkorchid
#9932CC
ΔE00 3.56
Darkviolet
#9400D3
ΔE00 5.99
Barney
#AC1DB8
ΔE00 6.15
Blueviolet
#8A2BE2
ΔE00 6.34
Royal Purple
#7851A9
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B3BB7 #67B73B
analogous
#4D3BB7 #8B3BB7 #B73BA5
triadic
#8B3BB7 #B78B3B #3BB78B
tetradic
#8B3BB7 #B74D3B #67B73B #3BA5B7
square
#8B3BB7 #B74D3B #67B73B #3BA5B7
split-complementary
#8B3BB7 #A5B73B #3BB74D
monochromatic
#451D5A #682C89 #8B3BB7 #A763CD #C191DC
Accessibility & contrast
On white
6.16
#8B3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#8B3BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B3BB7
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B3BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B3BB7 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#2B63B4
Tritanopia (blue-blind)
#855574
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8b3bb7; /* rgb */ color: rgb(139, 59, 183); /* oklch */ color: oklch(51.7% 0.192 311.1);
Tailwind
colors: {
custom: {
50: '#b177cd',
500: '#8b3bb7',
950: '#000000',
},
}SCSS
$custom: #8b3bb7; $custom-light: #b177cd; $custom-dark: #000000;
JSON
{
"hex": "#8b3bb7",
"rgb": {
"r": 139,
"g": 59,
"b": 183
},
"hsl": {
"h": 278.71,
"s": 51.24,
"l": 47.451
},
"oklch": {
"l": 0.5175,
"c": 0.19232,
"h": 311.1
},
"luminance": 0.12036
}Semantic roles & 50–950 ramp
primary
#8B3BB7
secondary
#9EC687
accent
#DB4D7F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82