#8F3AB7#8F3AB7
#8F3AB7 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.1% C 0.195 H 312.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3AB7 |
|---|---|
| RGB | rgb(143, 58, 183) |
| HSL | hsl(281, 52%, 47%) |
| HSV | hsv(281, 68%, 72%) |
| CMYK | cmyk(21.9%, 68.3%, 0%, 28.2%) |
| CIE-LAB | lab(41.67, 55.55, -50.68) |
| CIE-LCH | lch(41.67, 75.20, 317.62°) |
| OKLab | oklab(52.15% 0.1327 -0.1429) |
| OKLCH | oklch(52.15% 0.195 312.9) |
| XYZ | xyz(21.3865, 12.2853, 46.0353) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.66
Darkorchid
#9932CC
ΔE00 3.28
Barney
#AC1DB8
ΔE00 5.42
Darkviolet
#9400D3
ΔE00 6.00
Medium Purple
#9E43A2
ΔE00 6.36
Blueviolet
#8A2BE2
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3AB7 #62B73A
analogous
#513AB7 #8F3AB7 #B73AA1
triadic
#8F3AB7 #B78F3A #3AB78F
tetradic
#8F3AB7 #B7513A #62B73A #3AA1B7
square
#8F3AB7 #B7513A #62B73A #3AA1B7
split-complementary
#8F3AB7 #A1B73A #3AB751
monochromatic
#461D5A #6B2B89 #8F3AB7 #AB61CD #C390DC
Accessibility & contrast
On white
6.07
#8F3AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#8F3AB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F3AB7
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3AB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3AB7 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#3064B4
Tritanopia (blue-blind)
#8B5474
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8f3ab7; /* rgb */ color: rgb(143, 58, 183); /* oklch */ color: oklch(52.1% 0.195 312.9);
Tailwind
colors: {
custom: {
50: '#b477cd',
500: '#8f3ab7',
950: '#000000',
},
}SCSS
$custom: #8f3ab7; $custom-light: #b477cd; $custom-dark: #000000;
JSON
{
"hex": "#8f3ab7",
"rgb": {
"r": 143,
"g": 58,
"b": 183
},
"hsl": {
"h": 280.8,
"s": 51.867,
"l": 47.255
},
"oklch": {
"l": 0.52147,
"c": 0.19499,
"h": 312.9
},
"luminance": 0.12285
}Semantic roles & 50–950 ramp
primary
#8F3AB7
secondary
#9BC786
accent
#DB4C7A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82