#8B34BD#8B34BD
#8B34BD is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.4% C 0.207 H 310.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #8B34BD |
|---|---|
| RGB | rgb(139, 52, 189) |
| HSL | hsl(278, 57%, 47%) |
| HSV | hsv(278, 72%, 74%) |
| CMYK | cmyk(26.5%, 72.5%, 0%, 25.9%) |
| CIE-LAB | lab(40.60, 58.57, -55.95) |
| CIE-LCH | lch(40.60, 81.00, 316.31°) |
| OKLab | oklab(51.4% 0.133 -0.1585) |
| OKLCH | oklch(51.4% 0.207 310) |
| XYZ | xyz(21.0590, 11.6195, 49.2677) |
| Luminance | 0.1162 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.03
Purply
#983FB2
ΔE00 4.45
Darkviolet
#9400D3
ΔE00 4.53
Blueviolet
#8A2BE2
ΔE00 5.18
Violet (survey)
#9A0EEA
ΔE00 6.17
Barney
#AC1DB8
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B34BD #66BD34
analogous
#4734BD #8B34BD #BD34AB
triadic
#8B34BD #BD8B34 #34BD8B
tetradic
#8B34BD #BD4734 #66BD34 #34ABBD
square
#8B34BD #BD4734 #66BD34 #34ABBD
split-complementary
#8B34BD #ABBD34 #34BD47
monochromatic
#441A5D #68278D #8B34BD #A75CD2 #C18CDF
Accessibility & contrast
On white
6.32
#8B34BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#8B34BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B34BD
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B34BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B34BD | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#1761BA
Tritanopia (blue-blind)
#845376
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8b34bd; /* rgb */ color: rgb(139, 52, 189); /* oklch */ color: oklch(51.4% 0.207 310.0);
Tailwind
colors: {
custom: {
50: '#b173d2',
500: '#8b34bd',
950: '#000000',
},
}SCSS
$custom: #8b34bd; $custom-light: #b173d2; $custom-dark: #000000;
JSON
{
"hex": "#8b34bd",
"rgb": {
"r": 139,
"g": 52,
"b": 189
},
"hsl": {
"h": 278.102,
"s": 56.846,
"l": 47.255
},
"oklch": {
"l": 0.51403,
"c": 0.20687,
"h": 310
},
"luminance": 0.11619
}Semantic roles & 50–950 ramp
primary
#8B34BD
secondary
#9DCA83
accent
#E0487F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83