#8B30AC#8B30AC
#8B30AC is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.195 H 315.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8B30AC |
|---|---|
| RGB | rgb(139, 48, 172) |
| HSL | hsl(284, 56%, 43%) |
| HSV | hsv(284, 72%, 67%) |
| CMYK | cmyk(19.2%, 72.1%, 0%, 32.5%) |
| CIE-LAB | lab(38.87, 56.62, -48.71) |
| CIE-LCH | lch(38.87, 74.69, 319.30°) |
| OKLab | oklab(49.8% 0.1392 -0.1372) |
| OKLCH | oklch(49.8% 0.195 315.4) |
| XYZ | xyz(19.1496, 10.5821, 40.0556) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.26
Purple (survey)
#7E1E9C
ΔE00 4.52
Darkorchid
#9932CC
ΔE00 5.22
Barney
#AC1DB8
ΔE00 5.72
Darkviolet
#9400D3
ΔE00 6.06
Warm Purple
#952E8F
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B30AC #51AC30
analogous
#4D30AC #8B30AC #AC308F
triadic
#8B30AC #AC8B30 #30AC8B
tetradic
#8B30AC #AC4D30 #51AC30 #308FAC
square
#8B30AC #AC4D30 #51AC30 #308FAC
split-complementary
#8B30AC #8FAC30 #30AC4D
monochromatic
#3E154C #64237C #8B30AC #AB4CCD #C17CDA
Accessibility & contrast
On white
6.74
#8B30AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#8B30AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B30AC
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B30AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B30AC | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#2D5EA9
Tritanopia (blue-blind)
#884A6B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8b30ac; /* rgb */ color: rgb(139, 48, 172); /* oklch */ color: oklch(49.8% 0.195 315.4);
Tailwind
colors: {
custom: {
50: '#b171c5',
500: '#8b30ac',
950: '#000000',
},
}SCSS
$custom: #8b30ac; $custom-light: #b171c5; $custom-dark: #000000;
JSON
{
"hex": "#8b30ac",
"rgb": {
"r": 139,
"g": 48,
"b": 172
},
"hsl": {
"h": 284.032,
"s": 56.364,
"l": 43.137
},
"oklch": {
"l": 0.49799,
"c": 0.19541,
"h": 315.4
},
"luminance": 0.10581
}Semantic roles & 50–950 ramp
primary
#8B30AC
secondary
#8AC375
accent
#E04870
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82