#8B45BD#8B45BD
#8B45BD is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.4% C 0.185 H 308.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8B45BD |
|---|---|
| RGB | rgb(139, 69, 189) |
| HSL | hsl(275, 48%, 51%) |
| HSV | hsv(275, 63%, 74%) |
| CMYK | cmyk(26.5%, 63.5%, 0%, 25.9%) |
| CIE-LAB | lab(43.39, 50.82, -51.46) |
| CIE-LCH | lch(43.39, 72.32, 314.64°) |
| OKLab | oklab(53.4% 0.1144 -0.1454) |
| OKLCH | oklch(53.4% 0.185 308.2) |
| XYZ | xyz(21.9590, 13.4197, 49.5677) |
| Luminance | 0.1342 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.70
Darkorchid
#9932CC
ΔE00 3.85
Royal Purple
#7851A9
ΔE00 5.39
Blueviolet
#8A2BE2
ΔE00 6.39
Deep Lavender
#8D5EB7
ΔE00 6.77
Medium Purple
#9E43A2
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B45BD #77BD45
analogous
#4F45BD #8B45BD #BD45B3
triadic
#8B45BD #BD8B45 #45BD8B
tetradic
#8B45BD #BD4F45 #77BD45 #45B3BD
square
#8B45BD #BD4F45 #77BD45 #45B3BD
split-complementary
#8B45BD #B3BD45 #45BD4F
monochromatic
#492464 #6A3491 #8B45BD #A772CD #C39FDD
Accessibility & contrast
On white
5.70
#8B45BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#8B45BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B45BD
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B45BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B45BD | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#3067BA
Tritanopia (blue-blind)
#835D7B
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8b45bd; /* rgb */ color: rgb(139, 69, 189); /* oklch */ color: oklch(53.4% 0.185 308.2);
Tailwind
colors: {
custom: {
50: '#b17dd1',
500: '#8b45bd',
950: '#000000',
},
}SCSS
$custom: #8b45bd; $custom-light: #b17dd1; $custom-dark: #000000;
JSON
{
"hex": "#8b45bd",
"rgb": {
"r": 139,
"g": 69,
"b": 189
},
"hsl": {
"h": 275,
"s": 47.619,
"l": 50.588
},
"oklch": {
"l": 0.53397,
"c": 0.185,
"h": 308.2
},
"luminance": 0.13419
}Semantic roles & 50–950 ramp
primary
#8B45BD
secondary
#AACA94
accent
#D75189
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82