#8A26A5#8A26A5
#8A26A5 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.3% C 0.200 H 317.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8A26A5 |
|---|---|
| RGB | rgb(138, 38, 165) |
| HSL | hsl(287, 63%, 40%) |
| HSV | hsv(287, 77%, 65%) |
| CMYK | cmyk(16.4%, 77%, 0%, 35.3%) |
| CIE-LAB | lab(36.94, 58.74, -47.63) |
| CIE-LCH | lch(36.94, 75.63, 320.97°) |
| OKLab | oklab(48.25% 0.1483 -0.134) |
| OKLCH | oklch(48.25% 0.2 317.9) |
| XYZ | xyz(17.9649, 9.5069, 36.4787) |
| Luminance | 0.0951 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.90
Barney Purple
#A00498
ΔE00 5.38
Darkmagenta
#8B008B
ΔE00 5.51
Warm Purple
#952E8F
ΔE00 5.83
Purply
#983FB2
ΔE00 5.85
Barney
#AC1DB8
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A26A5 #41A526
analogous
#4A26A5 #8A26A5 #A52681
triadic
#8A26A5 #A58A26 #26A58A
tetradic
#8A26A5 #A54A26 #41A526 #2681A5
square
#8A26A5 #A54A26 #41A526 #2681A5
split-complementary
#8A26A5 #81A526 #26A54A
monochromatic
#370F42 #601B73 #8A26A5 #B037D1 #C469DC
Accessibility & contrast
On white
7.24
#8A26A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#8A26A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A26A5
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A26A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A26A5 | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A8
Deuteranopia (green-blind)
#2B5AA2
Tritanopia (blue-blind)
#894165
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8a26a5; /* rgb */ color: rgb(138, 38, 165); /* oklch */ color: oklch(48.3% 0.200 317.9);
Tailwind
colors: {
custom: {
50: '#b06cc0',
500: '#8a26a5',
950: '#000000',
},
}SCSS
$custom: #8a26a5; $custom-light: #b06cc0; $custom-dark: #000000;
JSON
{
"hex": "#8a26a5",
"rgb": {
"r": 138,
"g": 38,
"b": 165
},
"hsl": {
"h": 287.244,
"s": 62.562,
"l": 39.804
},
"oklch": {
"l": 0.48252,
"c": 0.19984,
"h": 317.9
},
"luminance": 0.09506
}Semantic roles & 50–950 ramp
primary
#8A26A5
secondary
#78C364
accent
#E64265
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81