#8B3DB5#8B3DB5
#8B3DB5 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.9% C 0.188 H 311.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8B3DB5 |
|---|---|
| RGB | rgb(139, 61, 181) |
| HSL | hsl(279, 50%, 47%) |
| HSV | hsv(279, 66%, 71%) |
| CMYK | cmyk(23.2%, 66.3%, 0%, 29%) |
| CIE-LAB | lab(41.47, 52.87, -49.84) |
| CIE-LCH | lch(41.47, 72.66, 316.69°) |
| OKLab | oklab(51.85% 0.1243 -0.1406) |
| OKLCH | oklch(51.85% 0.188 311.5) |
| XYZ | xyz(20.6552, 12.1632, 44.9667) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.00
Darkorchid
#9932CC
ΔE00 3.86
Royal Purple
#7851A9
ΔE00 6.13
Barney
#AC1DB8
ΔE00 6.20
Darkviolet
#9400D3
ΔE00 6.48
Medium Purple
#9E43A2
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B3DB5 #67B53D
analogous
#4F3DB5 #8B3DB5 #B53DA3
triadic
#8B3DB5 #B58B3D #3DB58B
tetradic
#8B3DB5 #B54F3D #67B53D #3DA3B5
square
#8B3DB5 #B54F3D #67B53D #3DA3B5
split-complementary
#8B3DB5 #A3B53D #3DB54F
monochromatic
#451E59 #682E87 #8B3DB5 #A764CB #C192DA
Accessibility & contrast
On white
6.12
#8B3DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#8B3DB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B3DB5
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B3DB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B3DB5 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#3063B2
Tritanopia (blue-blind)
#865574
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8b3db5; /* rgb */ color: rgb(139, 61, 181); /* oklch */ color: oklch(51.9% 0.188 311.5);
Tailwind
colors: {
custom: {
50: '#b178cc',
500: '#8b3db5',
950: '#000000',
},
}SCSS
$custom: #8b3db5; $custom-light: #b178cc; $custom-dark: #000000;
JSON
{
"hex": "#8b3db5",
"rgb": {
"r": 139,
"g": 61,
"b": 181
},
"hsl": {
"h": 279,
"s": 49.587,
"l": 47.451
},
"oklch": {
"l": 0.51852,
"c": 0.18763,
"h": 311.5
},
"luminance": 0.12163
}Semantic roles & 50–950 ramp
primary
#8B3DB5
secondary
#9EC588
accent
#D94F7F
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82