#8B45BF#8B45BF
#8B45BF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.187 H 307.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8B45BF |
|---|---|
| RGB | rgb(139, 69, 191) |
| HSL | hsl(274, 49%, 51%) |
| HSV | hsv(274, 64%, 75%) |
| CMYK | cmyk(27.2%, 63.9%, 0%, 25.1%) |
| CIE-LAB | lab(43.52, 51.28, -52.42) |
| CIE-LCH | lch(43.52, 73.33, 314.37°) |
| OKLab | oklab(53.53% 0.1143 -0.1482) |
| OKLCH | oklch(53.53% 0.187 307.6) |
| XYZ | xyz(22.1776, 13.5071, 50.7189) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.74
Purply
#983FB2
ΔE00 3.94
Royal Purple
#7851A9
ΔE00 5.54
Blueviolet
#8A2BE2
ΔE00 6.14
Deep Lavender
#8D5EB7
ΔE00 6.83
Darkviolet
#9400D3
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B45BF #79BF45
analogous
#4E45BF #8B45BF #BF45B6
triadic
#8B45BF #BF8B45 #45BF8B
tetradic
#8B45BF #BF4E45 #79BF45 #45B6BF
square
#8B45BF #BF4E45 #79BF45 #45B6BF
split-complementary
#8B45BF #B6BF45 #45BF4E
monochromatic
#4A2366 #6B3394 #8B45BF #A773CF #C4A0DE
Accessibility & contrast
On white
5.67
#8B45BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#8B45BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B45BF
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B45BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B45BF | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#2E68BC
Tritanopia (blue-blind)
#835E7C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8b45bf; /* rgb */ color: rgb(139, 69, 191); /* oklch */ color: oklch(53.5% 0.187 307.6);
Tailwind
colors: {
custom: {
50: '#b17dd3',
500: '#8b45bf',
950: '#000000',
},
}SCSS
$custom: #8b45bf; $custom-light: #b17dd3; $custom-dark: #000000;
JSON
{
"hex": "#8b45bf",
"rgb": {
"r": 139,
"g": 69,
"b": 191
},
"hsl": {
"h": 274.426,
"s": 48.8,
"l": 50.98
},
"oklch": {
"l": 0.53532,
"c": 0.18716,
"h": 307.6
},
"luminance": 0.13507
}Semantic roles & 50–950 ramp
primary
#8B45BF
secondary
#ACCB95
accent
#D84F8A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83