#8B45BE#8B45BE
#8B45BE is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.186 H 307.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #8B45BE |
|---|---|
| RGB | rgb(139, 69, 190) |
| HSL | hsl(275, 48%, 51%) |
| HSV | hsv(275, 64%, 75%) |
| CMYK | cmyk(26.8%, 63.7%, 0%, 25.5%) |
| CIE-LAB | lab(43.45, 51.05, -51.94) |
| CIE-LCH | lch(43.45, 72.83, 314.50°) |
| OKLab | oklab(53.46% 0.1144 -0.1468) |
| OKLCH | oklch(53.46% 0.186 307.9) |
| XYZ | xyz(22.0679, 13.4632, 50.1413) |
| Luminance | 0.1346 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.79
Purply
#983FB2
ΔE00 3.82
Royal Purple
#7851A9
ΔE00 5.46
Blueviolet
#8A2BE2
ΔE00 6.27
Deep Lavender
#8D5EB7
ΔE00 6.80
Darkviolet
#9400D3
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B45BE #78BE45
analogous
#4E45BE #8B45BE #BE45B4
triadic
#8B45BE #BE8B45 #45BE8B
tetradic
#8B45BE #BE4E45 #78BE45 #45B4BE
square
#8B45BE #BE4E45 #78BE45 #45B4BE
split-complementary
#8B45BE #B4BE45 #45BE4E
monochromatic
#492365 #6A3393 #8B45BE #A772CE #C4A0DE
Accessibility & contrast
On white
5.69
#8B45BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#8B45BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B45BE
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B45BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B45BE | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#2F67BB
Tritanopia (blue-blind)
#835E7B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8b45be; /* rgb */ color: rgb(139, 69, 190); /* oklch */ color: oklch(53.5% 0.186 307.9);
Tailwind
colors: {
custom: {
50: '#b17dd2',
500: '#8b45be',
950: '#000000',
},
}SCSS
$custom: #8b45be; $custom-light: #b17dd2; $custom-dark: #000000;
JSON
{
"hex": "#8b45be",
"rgb": {
"r": 139,
"g": 69,
"b": 190
},
"hsl": {
"h": 274.711,
"s": 48.207,
"l": 50.784
},
"oklch": {
"l": 0.53464,
"c": 0.18608,
"h": 307.9
},
"luminance": 0.13463
}Semantic roles & 50–950 ramp
primary
#8B45BE
secondary
#ABCA95
accent
#D85089
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83