#8B54BB#8B54BB
#8B54BB is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.4% C 0.160 H 306.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8B54BB |
|---|---|
| RGB | rgb(139, 84, 187) |
| HSL | hsl(272, 43%, 53%) |
| HSV | hsv(272, 55%, 73%) |
| CMYK | cmyk(25.7%, 55.1%, 0%, 26.7%) |
| CIE-LAB | lab(46.20, 42.50, -45.79) |
| CIE-LCH | lch(46.20, 62.47, 312.86°) |
| OKLab | oklab(55.41% 0.0955 -0.1288) |
| OKLCH | oklch(55.41% 0.16 306.5) |
| XYZ | xyz(22.7856, 15.4177, 48.7796) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.12
Royal Purple
#7851A9
ΔE00 4.52
Amethyst
#9B5FC0
ΔE00 4.76
Purply
#983FB2
ΔE00 5.59
Purpley
#8756E4
ΔE00 6.76
Darkorchid
#9932CC
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B54BB #84BB54
analogous
#5754BB #8B54BB #BB54B7
triadic
#8B54BB #BB8B54 #54BB8B
tetradic
#8B54BB #BB5754 #84BB54 #54B7BB
square
#8B54BB #BB5754 #84BB54 #54B7BB
split-complementary
#8B54BB #B7BB54 #54BB57
monochromatic
#4C2A6A #6C3C96 #8B54BB #A980CC #C6ACDE
Accessibility & contrast
On white
5.14
#8B54BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#8B54BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B54BB
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B54BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B54BB | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#316CBE
Deuteranopia (green-blind)
#446EB8
Tritanopia (blue-blind)
#83677F
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8b54bb; /* rgb */ color: rgb(139, 84, 187); /* oklch */ color: oklch(55.4% 0.160 306.5);
Tailwind
colors: {
custom: {
50: '#b086d0',
500: '#8b54bb',
950: '#000000',
},
}SCSS
$custom: #8b54bb; $custom-light: #b086d0; $custom-dark: #000000;
JSON
{
"hex": "#8b54bb",
"rgb": {
"r": 139,
"g": 84,
"b": 187
},
"hsl": {
"h": 272.039,
"s": 43.096,
"l": 53.137
},
"oklch": {
"l": 0.5541,
"c": 0.16034,
"h": 306.5
},
"luminance": 0.15417
}Semantic roles & 50–950 ramp
primary
#8B54BB
secondary
#B4CC9F
accent
#D35590
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82