#8B279F#8B279F
#8B279F is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.194 H 320.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8B279F |
|---|---|
| RGB | rgb(139, 39, 159) |
| HSL | hsl(290, 61%, 39%) |
| HSV | hsv(290, 75%, 62%) |
| CMYK | cmyk(12.6%, 75.5%, 0%, 37.6%) |
| CIE-LAB | lab(36.83, 57.46, -44.19) |
| CIE-LCH | lch(36.83, 72.48, 322.43°) |
| OKLab | oklab(48.08% 0.1493 -0.1239) |
| OKLCH | oklch(48.08% 0.194 320.3) |
| XYZ | xyz(17.6302, 9.4441, 33.6884) |
| Luminance | 0.0944 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.12
Barney Purple
#A00498
ΔE00 4.61
Warm Purple
#952E8F
ΔE00 4.76
Darkmagenta
#8B008B
ΔE00 4.76
Purply
#983FB2
ΔE00 5.95
Barney
#AC1DB8
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B279F #3B9F27
analogous
#4F279F #8B279F #9F2777
triadic
#8B279F #9F8B27 #279F8B
tetradic
#8B279F #9F4F27 #3B9F27 #27779F
square
#8B279F #9F4F27 #3B9F27 #27779F
split-complementary
#8B279F #779F27 #279F4F
monochromatic
#350F3D #601B6E #8B279F #B436CE #C767DA
Accessibility & contrast
On white
7.27
#8B279F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#8B279F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B279F
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B279F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B279F | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#335A9C
Tritanopia (blue-blind)
#8C3F61
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8b279f; /* rgb */ color: rgb(139, 39, 159); /* oklch */ color: oklch(48.1% 0.194 320.3);
Tailwind
colors: {
custom: {
50: '#b16cbc',
500: '#8b279f',
950: '#000000',
},
}SCSS
$custom: #8b279f; $custom-light: #b16cbc; $custom-dark: #000000;
JSON
{
"hex": "#8b279f",
"rgb": {
"r": 139,
"g": 39,
"b": 159
},
"hsl": {
"h": 290,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.48075,
"c": 0.19399,
"h": 320.3
},
"luminance": 0.09443
}Semantic roles & 50–950 ramp
primary
#8B279F
secondary
#72C062
accent
#E4445F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81