#8A26A0#8A26A0
#8A26A0 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.196 H 319.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8A26A0 |
|---|---|
| RGB | rgb(138, 38, 160) |
| HSL | hsl(289, 62%, 39%) |
| HSV | hsv(289, 76%, 63%) |
| CMYK | cmyk(13.8%, 76.3%, 0%, 37.3%) |
| CIE-LAB | lab(36.61, 57.79, -45.15) |
| CIE-LCH | lch(36.61, 73.33, 322.00°) |
| OKLab | oklab(47.91% 0.1489 -0.1267) |
| OKLCH | oklch(47.91% 0.196 319.6) |
| XYZ | xyz(17.5187, 9.3284, 34.1287) |
| Luminance | 0.0933 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.82
Darkmagenta
#8B008B
ΔE00 4.82
Barney Purple
#A00498
ΔE00 4.85
Warm Purple
#952E8F
ΔE00 5.12
Purply
#983FB2
ΔE00 6.10
Barney
#AC1DB8
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A26A0 #3CA026
analogous
#4D26A0 #8A26A0 #A02679
triadic
#8A26A0 #A08A26 #26A08A
tetradic
#8A26A0 #A04D26 #3CA026 #2679A0
square
#8A26A0 #A04D26 #3CA026 #2679A0
split-complementary
#8A26A0 #79A026 #26A04D
monochromatic
#350F3D #5F1A6F #8A26A0 #B334CF #C666DB
Accessibility & contrast
On white
7.33
#8A26A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#8A26A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A26A0
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A26A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A26A0 | 1.00 | 7.33 | 2.87 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#30599D
Tritanopia (blue-blind)
#8A3F62
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8a26a0; /* rgb */ color: rgb(138, 38, 160); /* oklch */ color: oklch(47.9% 0.196 319.6);
Tailwind
colors: {
custom: {
50: '#b06cbd',
500: '#8a26a0',
950: '#000000',
},
}SCSS
$custom: #8a26a0; $custom-light: #b06cbd; $custom-dark: #000000;
JSON
{
"hex": "#8a26a0",
"rgb": {
"r": 138,
"g": 38,
"b": 160
},
"hsl": {
"h": 289.18,
"s": 61.616,
"l": 38.824
},
"oklch": {
"l": 0.4791,
"c": 0.1955,
"h": 319.6
},
"luminance": 0.09328
}Semantic roles & 50–950 ramp
primary
#8A26A0
secondary
#73C061
accent
#E54360
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81