#8B39B7#8B39B7
#8B39B7 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.5% C 0.195 H 311.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8B39B7 |
|---|---|
| RGB | rgb(139, 57, 183) |
| HSL | hsl(279, 53%, 47%) |
| HSV | hsv(279, 69%, 72%) |
| CMYK | cmyk(24%, 68.9%, 0%, 28.2%) |
| CIE-LAB | lab(40.95, 55.13, -51.86) |
| CIE-LCH | lch(40.95, 75.69, 316.75°) |
| OKLab | oklab(51.52% 0.1286 -0.1465) |
| OKLCH | oklch(51.52% 0.195 311.3) |
| XYZ | xyz(20.6562, 11.8346, 45.9867) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.49
Darkorchid
#9932CC
ΔE00 3.53
Darkviolet
#9400D3
ΔE00 5.70
Barney
#AC1DB8
ΔE00 6.06
Blueviolet
#8A2BE2
ΔE00 6.24
Purple (survey)
#7E1E9C
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B39B7 #65B739
analogous
#4C39B7 #8B39B7 #B739A4
triadic
#8B39B7 #B78B39 #39B78B
tetradic
#8B39B7 #B74C39 #65B739 #39A4B7
square
#8B39B7 #B74C39 #65B739 #39A4B7
split-complementary
#8B39B7 #A4B739 #39B74C
monochromatic
#441C5A #682A88 #8B39B7 #A760CD #C18EDC
Accessibility & contrast
On white
6.24
#8B39B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#8B39B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B39B7
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B39B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B39B7 | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#2962B4
Tritanopia (blue-blind)
#855474
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8b39b7; /* rgb */ color: rgb(139, 57, 183); /* oklch */ color: oklch(51.5% 0.195 311.3);
Tailwind
colors: {
custom: {
50: '#b176cd',
500: '#8b39b7',
950: '#000000',
},
}SCSS
$custom: #8b39b7; $custom-light: #b176cd; $custom-dark: #000000;
JSON
{
"hex": "#8b39b7",
"rgb": {
"r": 139,
"g": 57,
"b": 183
},
"hsl": {
"h": 279.048,
"s": 52.5,
"l": 47.059
},
"oklch": {
"l": 0.5152,
"c": 0.1949,
"h": 311.3
},
"luminance": 0.11834
}Semantic roles & 50–950 ramp
primary
#8B39B7
secondary
#9CC785
accent
#DC4C7E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82