#8B279B#8B279B
#8B279B is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.191 H 321.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8B279B |
|---|---|
| RGB | rgb(139, 39, 155) |
| HSL | hsl(292, 60%, 38%) |
| HSV | hsv(292, 75%, 61%) |
| CMYK | cmyk(10.3%, 74.8%, 0%, 39.2%) |
| CIE-LAB | lab(36.57, 56.71, -42.18) |
| CIE-LCH | lch(36.57, 70.67, 323.36°) |
| OKLab | oklab(47.81% 0.1496 -0.118) |
| OKLCH | oklch(47.81% 0.191 321.7) |
| XYZ | xyz(17.2887, 9.3075, 31.8899) |
| Luminance | 0.0931 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.32
Warm Purple
#952E8F
ΔE00 4.18
Barney Purple
#A00498
ΔE00 4.26
Darkmagenta
#8B008B
ΔE00 4.28
Purple
#800080
ΔE00 6.09
Purply
#983FB2
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B279B #379B27
analogous
#51279B #8B279B #9B2771
triadic
#8B279B #9B8B27 #279B8B
tetradic
#8B279B #9B5127 #379B27 #27719B
square
#8B279B #9B5127 #379B27 #27719B
split-complementary
#8B279B #719B27 #279B51
monochromatic
#330E39 #5F1B6A #8B279B #B733CC #C864D8
Accessibility & contrast
On white
7.34
#8B279B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#8B279B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B279B
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B279B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B279B | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#375A98
Tritanopia (blue-blind)
#8C3D5F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8b279b; /* rgb */ color: rgb(139, 39, 155); /* oklch */ color: oklch(47.8% 0.191 321.7);
Tailwind
colors: {
custom: {
50: '#b06cb9',
500: '#8b279b',
950: '#000000',
},
}SCSS
$custom: #8b279b; $custom-light: #b06cb9; $custom-dark: #000000;
JSON
{
"hex": "#8b279b",
"rgb": {
"r": 139,
"g": 39,
"b": 155
},
"hsl": {
"h": 291.724,
"s": 59.794,
"l": 38.039
},
"oklch": {
"l": 0.47811,
"c": 0.19055,
"h": 321.7
},
"luminance": 0.09307
}Semantic roles & 50–950 ramp
primary
#8B279B
secondary
#6DBE60
accent
#E3455B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80