#8B3BB1#8B3BB1
#8B3BB1 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.3% C 0.186 H 312.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8B3BB1 |
|---|---|
| RGB | rgb(139, 59, 177) |
| HSL | hsl(281, 50%, 46%) |
| HSV | hsv(281, 67%, 69%) |
| CMYK | cmyk(21.5%, 66.7%, 0%, 30.6%) |
| CIE-LAB | lab(40.88, 52.93, -48.43) |
| CIE-LCH | lch(40.88, 71.75, 317.54°) |
| OKLab | oklab(51.35% 0.1268 -0.1364) |
| OKLCH | oklch(51.35% 0.186 312.9) |
| XYZ | xyz(20.1458, 11.7918, 42.8013) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.94
Darkorchid
#9932CC
ΔE00 4.32
Barney
#AC1DB8
ΔE00 5.98
Medium Purple
#9E43A2
ΔE00 6.25
Royal Purple
#7851A9
ΔE00 6.40
Purple (survey)
#7E1E9C
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B3BB1 #61B13B
analogous
#503BB1 #8B3BB1 #B13B9C
triadic
#8B3BB1 #B18B3B #3BB18B
tetradic
#8B3BB1 #B1503B #61B13B #3B9CB1
square
#8B3BB1 #B1503B #61B13B #3B9CB1
split-complementary
#8B3BB1 #9CB13B #3BB150
monochromatic
#431C55 #672C83 #8B3BB1 #A85FCA #C18DD9
Accessibility & contrast
On white
6.25
#8B3BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#8B3BB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B3BB1
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B3BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B3BB1 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#3262AE
Tritanopia (blue-blind)
#875271
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8b3bb1; /* rgb */ color: rgb(139, 59, 177); /* oklch */ color: oklch(51.3% 0.186 312.9);
Tailwind
colors: {
custom: {
50: '#b077c9',
500: '#8b3bb1',
950: '#000000',
},
}SCSS
$custom: #8b3bb1; $custom-light: #b077c9; $custom-dark: #000000;
JSON
{
"hex": "#8b3bb1",
"rgb": {
"r": 139,
"g": 59,
"b": 177
},
"hsl": {
"h": 280.678,
"s": 50,
"l": 46.275
},
"oklch": {
"l": 0.51345,
"c": 0.18628,
"h": 312.9
},
"luminance": 0.11791
}Semantic roles & 50–950 ramp
primary
#8B3BB1
secondary
#99C484
accent
#DA4E7B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82