#8A26B1#8A26B1
#8A26B1 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.210 H 314.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8A26B1 |
|---|---|
| RGB | rgb(138, 38, 177) |
| HSL | hsl(283, 65%, 42%) |
| HSV | hsv(283, 79%, 69%) |
| CMYK | cmyk(22%, 78.5%, 0%, 30.6%) |
| CIE-LAB | lab(37.78, 61.11, -53.45) |
| CIE-LCH | lch(37.78, 81.18, 318.83°) |
| OKLab | oklab(49.11% 0.1464 -0.151) |
| OKLCH | oklch(49.11% 0.21 314.1) |
| XYZ | xyz(19.1088, 9.9645, 42.5032) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.94
Darkviolet
#9400D3
ΔE00 4.82
Darkorchid
#9932CC
ΔE00 5.32
Purply
#983FB2
ΔE00 5.68
Barney
#AC1DB8
ΔE00 6.20
Barney Purple
#A00498
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A26B1 #4DB126
analogous
#4426B1 #8A26B1 #B12693
triadic
#8A26B1 #B18A26 #26B18A
tetradic
#8A26B1 #B14426 #4DB126 #2693B1
square
#8A26B1 #B14426 #4DB126 #2693B1
split-complementary
#8A26B1 #93B126 #26B144
monochromatic
#3B104C #631B7F #8A26B1 #AB3FD6 #C171E0
Accessibility & contrast
On white
7.02
#8A26B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#8A26B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A26B1
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A26B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A26B1 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#195BAE
Tritanopia (blue-blind)
#86476B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #8a26b1; /* rgb */ color: rgb(138, 38, 177); /* oklch */ color: oklch(49.1% 0.210 314.1);
Tailwind
colors: {
custom: {
50: '#b16cc9',
500: '#8a26b1',
950: '#000000',
},
}SCSS
$custom: #8a26b1; $custom-light: #b16cc9; $custom-dark: #000000;
JSON
{
"hex": "#8a26b1",
"rgb": {
"r": 138,
"g": 38,
"b": 177
},
"hsl": {
"h": 283.165,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.49107,
"c": 0.21035,
"h": 314.1
},
"luminance": 0.09964
}Semantic roles & 50–950 ramp
primary
#8A26B1
secondary
#85C76B
accent
#E8406F
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82