#8B26A2#8B26A2
#8B26A2 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.198 H 319.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8B26A2 |
|---|---|
| RGB | rgb(139, 38, 162) |
| HSL | hsl(289, 62%, 39%) |
| HSV | hsv(289, 77%, 64%) |
| CMYK | cmyk(14.2%, 76.5%, 0%, 36.5%) |
| CIE-LAB | lab(36.90, 58.37, -45.88) |
| CIE-LCH | lch(36.90, 74.24, 321.83°) |
| OKLab | oklab(48.19% 0.1499 -0.1288) |
| OKLCH | oklch(48.19% 0.198 319.3) |
| XYZ | xyz(17.8613, 9.4847, 35.0653) |
| Luminance | 0.0948 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.00
Barney Purple
#A00498
ΔE00 4.89
Darkmagenta
#8B008B
ΔE00 5.07
Warm Purple
#952E8F
ΔE00 5.25
Purply
#983FB2
ΔE00 5.87
Barney
#AC1DB8
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B26A2 #3DA226
analogous
#4D26A2 #8B26A2 #A2267B
triadic
#8B26A2 #A28B26 #26A28B
tetradic
#8B26A2 #A24D26 #3DA226 #267BA2
square
#8B26A2 #A24D26 #3DA226 #267BA2
split-complementary
#8B26A2 #7BA226 #26A24D
monochromatic
#360F3F #601A70 #8B26A2 #B335D0 #C667DB
Accessibility & contrast
On white
7.25
#8B26A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#8B26A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B26A2
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B26A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B26A2 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#305A9F
Tritanopia (blue-blind)
#8B4063
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8b26a2; /* rgb */ color: rgb(139, 38, 162); /* oklch */ color: oklch(48.2% 0.198 319.3);
Tailwind
colors: {
custom: {
50: '#b16cbe',
500: '#8b26a2',
950: '#000000',
},
}SCSS
$custom: #8b26a2; $custom-light: #b16cbe; $custom-dark: #000000;
JSON
{
"hex": "#8b26a2",
"rgb": {
"r": 139,
"g": 38,
"b": 162
},
"hsl": {
"h": 288.871,
"s": 62,
"l": 39.216
},
"oklch": {
"l": 0.48191,
"c": 0.19763,
"h": 319.3
},
"luminance": 0.09484
}Semantic roles & 50–950 ramp
primary
#8B26A2
secondary
#74C163
accent
#E54361
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81