#8B30B0#8B30B0
#8B30B0 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.199 H 314.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8B30B0 |
|---|---|
| RGB | rgb(139, 48, 176) |
| HSL | hsl(283, 57%, 44%) |
| HSV | hsv(283, 73%, 69%) |
| CMYK | cmyk(21%, 72.7%, 0%, 31%) |
| CIE-LAB | lab(39.14, 57.44, -50.65) |
| CIE-LCH | lch(39.14, 76.58, 318.59°) |
| OKLab | oklab(50.08% 0.1387 -0.1429) |
| OKLCH | oklch(50.08% 0.199 314.2) |
| XYZ | xyz(19.5396, 10.7381, 42.1093) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.27
Darkorchid
#9932CC
ΔE00 4.68
Purple (survey)
#7E1E9C
ΔE00 4.85
Darkviolet
#9400D3
ΔE00 5.51
Barney
#AC1DB8
ΔE00 5.73
Barney Purple
#A00498
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B30B0 #55B030
analogous
#4B30B0 #8B30B0 #B03095
triadic
#8B30B0 #B08B30 #30B08B
tetradic
#8B30B0 #B04B30 #55B030 #3095B0
square
#8B30B0 #B04B30 #55B030 #3095B0
split-complementary
#8B30B0 #95B030 #30B04B
monochromatic
#3F1650 #652380 #8B30B0 #AA4ECF #C17EDC
Accessibility & contrast
On white
6.67
#8B30B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#8B30B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B30B0
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B30B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B30B0 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#285EAD
Tritanopia (blue-blind)
#884C6D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #8b30b0; /* rgb */ color: rgb(139, 48, 176); /* oklch */ color: oklch(50.1% 0.199 314.2);
Tailwind
colors: {
custom: {
50: '#b171c8',
500: '#8b30b0',
950: '#000000',
},
}SCSS
$custom: #8b30b0; $custom-light: #b171c8; $custom-dark: #000000;
JSON
{
"hex": "#8b30b0",
"rgb": {
"r": 139,
"g": 48,
"b": 176
},
"hsl": {
"h": 282.656,
"s": 57.143,
"l": 43.922
},
"oklch": {
"l": 0.50075,
"c": 0.19914,
"h": 314.2
},
"luminance": 0.10737
}Semantic roles & 50–950 ramp
primary
#8B30B0
secondary
#8EC577
accent
#E04774
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82