#8B43BA#8B43BA
#8B43BA is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.9% C 0.185 H 309.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8B43BA |
|---|---|
| RGB | rgb(139, 67, 186) |
| HSL | hsl(276, 47%, 50%) |
| HSV | hsv(276, 64%, 73%) |
| CMYK | cmyk(25.3%, 64%, 0%, 27.1%) |
| CIE-LAB | lab(42.84, 51.12, -50.59) |
| CIE-LCH | lch(42.84, 71.92, 315.30°) |
| OKLab | oklab(52.94% 0.117 -0.1428) |
| OKLCH | oklch(52.94% 0.185 309.3) |
| XYZ | xyz(21.5158, 13.0488, 47.8301) |
| Luminance | 0.1305 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.30
Darkorchid
#9932CC
ΔE00 3.82
Royal Purple
#7851A9
ΔE00 5.46
Blueviolet
#8A2BE2
ΔE00 6.55
Medium Purple
#9E43A2
ΔE00 6.89
Barney
#AC1DB8
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B43BA #72BA43
analogous
#5043BA #8B43BA #BA43AE
triadic
#8B43BA #BA8B43 #43BA8B
tetradic
#8B43BA #BA5043 #72BA43 #43AEBA
square
#8B43BA #BA5043 #72BA43 #43AEBA
split-complementary
#8B43BA #AEBA43 #43BA50
monochromatic
#482360 #69338D #8B43BA #A76FCB #C29CDB
Accessibility & contrast
On white
5.82
#8B43BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#8B43BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B43BA
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B43BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B43BA | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#3166B7
Tritanopia (blue-blind)
#845B78
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8b43ba; /* rgb */ color: rgb(139, 67, 186); /* oklch */ color: oklch(52.9% 0.185 309.3);
Tailwind
colors: {
custom: {
50: '#b07ccf',
500: '#8b43ba',
950: '#000000',
},
}SCSS
$custom: #8b43ba; $custom-light: #b07ccf; $custom-dark: #000000;
JSON
{
"hex": "#8b43ba",
"rgb": {
"r": 139,
"g": 67,
"b": 186
},
"hsl": {
"h": 276.303,
"s": 47.036,
"l": 49.608
},
"oklch": {
"l": 0.52937,
"c": 0.18459,
"h": 309.3
},
"luminance": 0.13048
}Semantic roles & 50–950 ramp
primary
#8B43BA
secondary
#A7C891
accent
#D75186
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82