#8B339F#8B339F
#8B339F is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.3% C 0.180 H 319.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8B339F |
|---|---|
| RGB | rgb(139, 51, 159) |
| HSL | hsl(289, 51%, 41%) |
| HSV | hsv(289, 68%, 62%) |
| CMYK | cmyk(12.6%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(38.48, 52.76, -41.54) |
| CIE-LCH | lch(38.48, 67.15, 321.79°) |
| OKLab | oklab(49.26% 0.1368 -0.1162) |
| OKLCH | oklch(49.26% 0.18 319.7) |
| XYZ | xyz(18.0885, 10.3607, 33.8412) |
| Luminance | 0.1036 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.31
Purply
#983FB2
ΔE00 4.55
Purple (survey)
#7E1E9C
ΔE00 4.65
Barney Purple
#A00498
ΔE00 5.37
Medium Purple
#9E43A2
ΔE00 5.73
Barney
#AC1DB8
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B339F #479F33
analogous
#55339F #8B339F #9F337D
triadic
#8B339F #9F8B33 #339F8B
tetradic
#8B339F #9F5533 #479F33 #337D9F
square
#8B339F #9F5533 #479F33 #337D9F
split-complementary
#8B339F #7D9F33 #339F55
monochromatic
#3A1542 #622471 #8B339F #AE4AC5 #C379D4
Accessibility & contrast
On white
6.84
#8B339F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#8B339F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B339F
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B339F | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A55A2
Deuteranopia (green-blind)
#3B5E9C
Tritanopia (blue-blind)
#8B4665
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8b339f; /* rgb */ color: rgb(139, 51, 159); /* oklch */ color: oklch(49.3% 0.180 319.7);
Tailwind
colors: {
custom: {
50: '#b072bc',
500: '#8b339f',
950: '#000000',
},
}SCSS
$custom: #8b339f; $custom-light: #b072bc; $custom-dark: #000000;
JSON
{
"hex": "#8b339f",
"rgb": {
"r": 139,
"g": 51,
"b": 159
},
"hsl": {
"h": 288.889,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.49258,
"c": 0.17951,
"h": 319.7
},
"luminance": 0.1036
}Semantic roles & 50–950 ramp
primary
#8B339F
secondary
#7FBC71
accent
#DB4D67
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81