#8F3AA1#8F3AA1
#8F3AA1 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.7% C 0.174 H 320.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3AA1 |
|---|---|
| RGB | rgb(143, 58, 161) |
| HSL | hsl(290, 47%, 43%) |
| HSV | hsv(290, 64%, 63%) |
| CMYK | cmyk(11.2%, 64%, 0%, 36.9%) |
| CIE-LAB | lab(40.31, 51.02, -39.79) |
| CIE-LCH | lch(40.31, 64.70, 322.05°) |
| OKLab | oklab(50.74% 0.1335 -0.111) |
| OKLCH | oklch(50.74% 0.174 320.2) |
| XYZ | xyz(19.2730, 11.4399, 34.9042) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.30
Medium Purple
#9E43A2
ΔE00 4.14
Warm Purple
#952E8F
ΔE00 4.33
Ugly Purple
#A442A0
ΔE00 5.37
Barney
#AC1DB8
ΔE00 5.73
Barney Purple
#A00498
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3AA1 #4CA13A
analogous
#5C3AA1 #8F3AA1 #A13A7F
triadic
#8F3AA1 #A18F3A #3AA18F
tetradic
#8F3AA1 #A15C3A #4CA13A #3A7FA1
square
#8F3AA1 #A15C3A #4CA13A #3A7FA1
split-complementary
#8F3AA1 #7FA13A #3AA15C
monochromatic
#3F1A47 #672A74 #8F3AA1 #AF56C2 #C483D2
Accessibility & contrast
On white
6.39
#8F3AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#8F3AA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F3AA1
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3AA1 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F59A4
Deuteranopia (green-blind)
#43629E
Tritanopia (blue-blind)
#904B68
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8f3aa1; /* rgb */ color: rgb(143, 58, 161); /* oklch */ color: oklch(50.7% 0.174 320.2);
Tailwind
colors: {
custom: {
50: '#b376bd',
500: '#8f3aa1',
950: '#000000',
},
}SCSS
$custom: #8f3aa1; $custom-light: #b376bd; $custom-dark: #000000;
JSON
{
"hex": "#8f3aa1",
"rgb": {
"r": 143,
"g": 58,
"b": 161
},
"hsl": {
"h": 289.515,
"s": 47.032,
"l": 42.941
},
"oklch": {
"l": 0.50737,
"c": 0.1736,
"h": 320.2
},
"luminance": 0.11439
}Semantic roles & 50–950 ramp
primary
#8F3AA1
secondary
#86BC7B
accent
#D75168
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81