#8F47BE#8F47BE
#8F47BE is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.184 H 309.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #8F47BE |
|---|---|
| RGB | rgb(143, 71, 190) |
| HSL | hsl(276, 48%, 51%) |
| HSV | hsv(276, 63%, 75%) |
| CMYK | cmyk(24.7%, 62.6%, 0%, 25.5%) |
| CIE-LAB | lab(44.32, 50.98, -50.51) |
| CIE-LCH | lch(44.32, 71.77, 315.27°) |
| OKLab | oklab(54.21% 0.1172 -0.1425) |
| OKLCH | oklch(54.21% 0.184 309.4) |
| XYZ | xyz(22.8734, 14.0642, 50.2149) |
| Luminance | 0.1406 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.37
Darkorchid
#9932CC
ΔE00 3.92
Royal Purple
#7851A9
ΔE00 5.70
Deep Lavender
#8D5EB7
ΔE00 6.17
Medium Purple
#9E43A2
ΔE00 6.80
Blueviolet
#8A2BE2
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F47BE #76BE47
analogous
#5347BE #8F47BE #BE47B1
triadic
#8F47BE #BE8F47 #47BE8F
tetradic
#8F47BE #BE5347 #76BE47 #47B1BE
square
#8F47BE #BE5347 #76BE47 #47B1BE
split-complementary
#8F47BE #B1BE47 #47BE53
monochromatic
#4C2466 #6E3494 #8F47BE #AB74CE #C6A1DE
Accessibility & contrast
On white
5.51
#8F47BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#8F47BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F47BE
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F47BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F47BE | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0966C2
Deuteranopia (green-blind)
#376ABB
Tritanopia (blue-blind)
#885E7C
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8f47be; /* rgb */ color: rgb(143, 71, 190); /* oklch */ color: oklch(54.2% 0.184 309.4);
Tailwind
colors: {
custom: {
50: '#b37ed2',
500: '#8f47be',
950: '#000000',
},
}SCSS
$custom: #8f47be; $custom-light: #b37ed2; $custom-dark: #000000;
JSON
{
"hex": "#8f47be",
"rgb": {
"r": 143,
"g": 71,
"b": 190
},
"hsl": {
"h": 276.303,
"s": 47.791,
"l": 51.176
},
"oklch": {
"l": 0.54205,
"c": 0.18448,
"h": 309.4
},
"luminance": 0.14064
}Semantic roles & 50–950 ramp
primary
#8F47BE
secondary
#ABCB96
accent
#D75086
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83