#8927A1#8927A1
#8927A1 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.195 H 318.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #8927A1 |
|---|---|
| RGB | rgb(137, 39, 161) |
| HSL | hsl(288, 61%, 39%) |
| HSV | hsv(288, 76%, 63%) |
| CMYK | cmyk(14.9%, 75.8%, 0%, 36.9%) |
| CIE-LAB | lab(36.64, 57.42, -45.72) |
| CIE-LCH | lch(36.64, 73.40, 321.47°) |
| OKLab | oklab(47.92% 0.1466 -0.1284) |
| OKLCH | oklch(47.92% 0.195 318.8) |
| XYZ | xyz(17.4742, 9.3434, 34.5943) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.73
Darkmagenta
#8B008B
ΔE00 5.07
Barney Purple
#A00498
ΔE00 5.14
Warm Purple
#952E8F
ΔE00 5.37
Purply
#983FB2
ΔE00 6.04
Barney
#AC1DB8
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8927A1 #3FA127
analogous
#4C27A1 #8927A1 #A1277C
triadic
#8927A1 #A18927 #27A189
tetradic
#8927A1 #A14C27 #3FA127 #277CA1
square
#8927A1 #A14C27 #3FA127 #277CA1
split-complementary
#8927A1 #7CA127 #27A14C
monochromatic
#350F3E #5F1B70 #8927A1 #B137CE #C468DA
Accessibility & contrast
On white
7.32
#8927A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#8927A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8927A1
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8927A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8927A1 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#2F599E
Tritanopia (blue-blind)
#894063
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8927a1; /* rgb */ color: rgb(137, 39, 161); /* oklch */ color: oklch(47.9% 0.195 318.8);
Tailwind
colors: {
custom: {
50: '#af6cbd',
500: '#8927a1',
950: '#000000',
},
}SCSS
$custom: #8927a1; $custom-light: #af6cbd; $custom-dark: #000000;
JSON
{
"hex": "#8927a1",
"rgb": {
"r": 137,
"g": 39,
"b": 161
},
"hsl": {
"h": 288.197,
"s": 61,
"l": 39.216
},
"oklch": {
"l": 0.47919,
"c": 0.19491,
"h": 318.8
},
"luminance": 0.09343
}Semantic roles & 50–950 ramp
primary
#8927A1
secondary
#76C063
accent
#E44463
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81