#8A279F#8A279F
#8A279F is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.194 H 319.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8A279F |
|---|---|
| RGB | rgb(138, 39, 159) |
| HSL | hsl(290, 61%, 39%) |
| HSV | hsv(290, 75%, 62%) |
| CMYK | cmyk(13.2%, 75.5%, 0%, 37.6%) |
| CIE-LAB | lab(36.67, 57.25, -44.46) |
| CIE-LCH | lch(36.67, 72.48, 322.17°) |
| OKLab | oklab(47.93% 0.1481 -0.1247) |
| OKLCH | oklch(47.93% 0.194 319.9) |
| XYZ | xyz(17.4640, 9.3584, 33.6806) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.94
Darkmagenta
#8B008B
ΔE00 4.78
Barney Purple
#A00498
ΔE00 4.78
Warm Purple
#952E8F
ΔE00 4.92
Purply
#983FB2
ΔE00 6.05
Barney
#AC1DB8
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A279F #3C9F27
analogous
#4E279F #8A279F #9F2778
triadic
#8A279F #9F8A27 #279F8A
tetradic
#8A279F #9F4E27 #3C9F27 #27789F
square
#8A279F #9F4E27 #3C9F27 #27789F
split-complementary
#8A279F #789F27 #279F4E
monochromatic
#350F3D #5F1B6E #8A279F #B336CE #C667DA
Accessibility & contrast
On white
7.31
#8A279F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#8A279F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A279F
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A279F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A279F | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#325A9C
Tritanopia (blue-blind)
#8A3F61
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8a279f; /* rgb */ color: rgb(138, 39, 159); /* oklch */ color: oklch(47.9% 0.194 319.9);
Tailwind
colors: {
custom: {
50: '#b06cbc',
500: '#8a279f',
950: '#000000',
},
}SCSS
$custom: #8a279f; $custom-light: #b06cbc; $custom-dark: #000000;
JSON
{
"hex": "#8a279f",
"rgb": {
"r": 138,
"g": 39,
"b": 159
},
"hsl": {
"h": 289.5,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.47929,
"c": 0.19358,
"h": 319.9
},
"luminance": 0.09358
}Semantic roles & 50–950 ramp
primary
#8A279F
secondary
#73C062
accent
#E44460
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81