#8A279E#8A279E
#8A279E is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.193 H 320.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8A279E |
|---|---|
| RGB | rgb(138, 39, 158) |
| HSL | hsl(290, 60%, 39%) |
| HSV | hsv(290, 75%, 62%) |
| CMYK | cmyk(12.7%, 75.3%, 0%, 38%) |
| CIE-LAB | lab(36.60, 57.06, -43.96) |
| CIE-LCH | lch(36.60, 72.03, 322.39°) |
| OKLab | oklab(47.86% 0.1482 -0.1232) |
| OKLCH | oklch(47.86% 0.193 320.3) |
| XYZ | xyz(17.3776, 9.3238, 33.2255) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.97
Darkmagenta
#8B008B
ΔE00 4.65
Barney Purple
#A00498
ΔE00 4.69
Warm Purple
#952E8F
ΔE00 4.78
Purply
#983FB2
ΔE00 6.12
Purple
#800080
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A279E #3B9E27
analogous
#4E279E #8A279E #9E2776
triadic
#8A279E #9E8A27 #279E8A
tetradic
#8A279E #9E4E27 #3B9E27 #27769E
square
#8A279E #9E4E27 #3B9E27 #27769E
split-complementary
#8A279E #769E27 #279E4E
monochromatic
#340F3C #5F1B6D #8A279E #B435CD #C666D9
Accessibility & contrast
On white
7.33
#8A279E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#8A279E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A279E
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A279E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A279E | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#33599B
Tritanopia (blue-blind)
#8B3F61
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8a279e; /* rgb */ color: rgb(138, 39, 158); /* oklch */ color: oklch(47.9% 0.193 320.3);
Tailwind
colors: {
custom: {
50: '#b06cbb',
500: '#8a279e',
950: '#000000',
},
}SCSS
$custom: #8a279e; $custom-light: #b06cbb; $custom-dark: #000000;
JSON
{
"hex": "#8a279e",
"rgb": {
"r": 138,
"g": 39,
"b": 158
},
"hsl": {
"h": 289.916,
"s": 60.406,
"l": 38.627
},
"oklch": {
"l": 0.47862,
"c": 0.1927,
"h": 320.3
},
"luminance": 0.09323
}Semantic roles & 50–950 ramp
primary
#8A279E
secondary
#71BF62
accent
#E4445F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81