#8B3BB2#8B3BB2
#8B3BB2 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.4% C 0.187 H 312.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8B3BB2 |
|---|---|
| RGB | rgb(139, 59, 178) |
| HSL | hsl(280, 50%, 46%) |
| HSV | hsv(280, 67%, 70%) |
| CMYK | cmyk(21.9%, 66.9%, 0%, 30.2%) |
| CIE-LAB | lab(40.95, 53.15, -48.92) |
| CIE-LCH | lch(40.95, 72.23, 317.37°) |
| OKLab | oklab(51.41% 0.1268 -0.1379) |
| OKLCH | oklch(51.41% 0.187 312.6) |
| XYZ | xyz(20.2459, 11.8318, 43.3281) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.99
Darkorchid
#9932CC
ΔE00 4.18
Barney
#AC1DB8
ΔE00 6.00
Medium Purple
#9E43A2
ΔE00 6.36
Royal Purple
#7851A9
ΔE00 6.40
Darkviolet
#9400D3
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B3BB2 #62B23B
analogous
#503BB2 #8B3BB2 #B23B9E
triadic
#8B3BB2 #B28B3B #3BB28B
tetradic
#8B3BB2 #B2503B #62B23B #3B9EB2
square
#8B3BB2 #B2503B #62B23B #3B9EB2
split-complementary
#8B3BB2 #9EB23B #3BB250
monochromatic
#431D56 #672C84 #8B3BB2 #A760CA #C18EDA
Accessibility & contrast
On white
6.24
#8B3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#8B3BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B3BB2
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B3BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B3BB2 | 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)
#005CB6
Deuteranopia (green-blind)
#3162AF
Tritanopia (blue-blind)
#875372
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8b3bb2; /* rgb */ color: rgb(139, 59, 178); /* oklch */ color: oklch(51.4% 0.187 312.6);
Tailwind
colors: {
custom: {
50: '#b077ca',
500: '#8b3bb2',
950: '#000000',
},
}SCSS
$custom: #8b3bb2; $custom-light: #b077ca; $custom-dark: #000000;
JSON
{
"hex": "#8b3bb2",
"rgb": {
"r": 139,
"g": 59,
"b": 178
},
"hsl": {
"h": 280.336,
"s": 50.211,
"l": 46.471
},
"oklch": {
"l": 0.51412,
"c": 0.18728,
"h": 312.6
},
"luminance": 0.11831
}Semantic roles & 50–950 ramp
primary
#8B3BB2
secondary
#99C485
accent
#DA4E7C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82