#8F47D8#8F47D8
#8F47D8 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.0% C 0.212 H 302.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8F47D8 |
|---|---|
| RGB | rgb(143, 71, 216) |
| HSL | hsl(270, 65%, 56%) |
| HSV | hsv(270, 67%, 85%) |
| CMYK | cmyk(33.8%, 67.1%, 0%, 15.3%) |
| CIE-LAB | lab(46.05, 57.01, -62.74) |
| CIE-LCH | lch(46.05, 84.78, 312.26°) |
| OKLab | oklab(55.99% 0.1151 -0.1784) |
| OKLCH | oklch(55.99% 0.212 302.8) |
| XYZ | xyz(25.9727, 15.3040, 66.5381) |
| Luminance | 0.1530 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.28
Darkorchid
#9932CC
ΔE00 4.45
Blueviolet
#8A2BE2
ΔE00 4.93
Lightish Purple
#A552E6
ΔE00 5.63
Violet (survey)
#9A0EEA
ΔE00 6.14
Electric Purple
#AA23FF
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F47D8 #90D847
analogous
#4748D8 #8F47D8 #D747D8
triadic
#8F47D8 #D88F47 #47D88F
tetradic
#8F47D8 #D84748 #90D847 #47D8D7
square
#8F47D8 #D84748 #90D847 #47D8D7
split-complementary
#8F47D8 #D8D747 #48D847
monochromatic
#521D88 #7027BA #8F47D8 #AE79E3 #CCACED
Accessibility & contrast
On white
5.17
#8F47D8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#8F47D8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F47D8
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F47D8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F47D8 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#006DD5
Tritanopia (blue-blind)
#80688A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8f47d8; /* rgb */ color: rgb(143, 71, 216); /* oklch */ color: oklch(56.0% 0.212 302.8);
Tailwind
colors: {
custom: {
50: '#b57fe5',
500: '#8f47d8',
950: '#000000',
},
}SCSS
$custom: #8f47d8; $custom-light: #b57fe5; $custom-dark: #000000;
JSON
{
"hex": "#8f47d8",
"rgb": {
"r": 143,
"g": 71,
"b": 216
},
"hsl": {
"h": 269.793,
"s": 65.022,
"l": 56.275
},
"oklch": {
"l": 0.55994,
"c": 0.21231,
"h": 302.8
},
"luminance": 0.15304
}Semantic roles & 50–950 ramp
primary
#8F47D8
secondary
#BEDBA0
accent
#E84094
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84