#8A279B#8A279B
#8A279B is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.190 H 321.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8A279B |
|---|---|
| RGB | rgb(138, 39, 155) |
| HSL | hsl(291, 60%, 38%) |
| HSV | hsv(291, 75%, 61%) |
| CMYK | cmyk(11%, 74.8%, 0%, 39.2%) |
| CIE-LAB | lab(36.41, 56.49, -42.45) |
| CIE-LCH | lch(36.41, 70.66, 323.08°) |
| OKLab | oklab(47.66% 0.1484 -0.1188) |
| OKLCH | oklch(47.66% 0.19 321.3) |
| XYZ | xyz(17.1225, 9.2218, 31.8821) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.13
Darkmagenta
#8B008B
ΔE00 4.28
Warm Purple
#952E8F
ΔE00 4.36
Barney Purple
#A00498
ΔE00 4.43
Purple
#800080
ΔE00 6.04
Purply
#983FB2
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A279B #389B27
analogous
#50279B #8A279B #9B2772
triadic
#8A279B #9B8A27 #279B8A
tetradic
#8A279B #9B5027 #389B27 #27729B
square
#8A279B #9B5027 #389B27 #27729B
split-complementary
#8A279B #729B27 #279B50
monochromatic
#330E39 #5E1B6A #8A279B #B533CC #C764D8
Accessibility & contrast
On white
7.38
#8A279B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#8A279B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A279B
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A279B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A279B | 1.00 | 7.38 | 2.84 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#355998
Tritanopia (blue-blind)
#8B3D5F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8a279b; /* rgb */ color: rgb(138, 39, 155); /* oklch */ color: oklch(47.7% 0.190 321.3);
Tailwind
colors: {
custom: {
50: '#b06cb9',
500: '#8a279b',
950: '#000000',
},
}SCSS
$custom: #8a279b; $custom-light: #b06cb9; $custom-dark: #000000;
JSON
{
"hex": "#8a279b",
"rgb": {
"r": 138,
"g": 39,
"b": 155
},
"hsl": {
"h": 291.207,
"s": 59.794,
"l": 38.039
},
"oklch": {
"l": 0.47664,
"c": 0.19012,
"h": 321.3
},
"luminance": 0.09221
}Semantic roles & 50–950 ramp
primary
#8A279B
secondary
#6EBE60
accent
#E3455C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80