#8F47D9#8F47D9
#8F47D9 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.1% C 0.213 H 302.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8F47D9 |
|---|---|
| RGB | rgb(143, 71, 217) |
| HSL | hsl(270, 66%, 56%) |
| HSV | hsv(270, 67%, 85%) |
| CMYK | cmyk(34.1%, 67.3%, 0%, 14.9%) |
| CIE-LAB | lab(46.12, 57.25, -63.20) |
| CIE-LCH | lch(46.12, 85.28, 312.17°) |
| OKLab | oklab(56.07% 0.115 -0.1797) |
| OKLCH | oklch(56.07% 0.213 302.6) |
| XYZ | xyz(26.1024, 15.3558, 67.2210) |
| Luminance | 0.1536 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.19
Darkorchid
#9932CC
ΔE00 4.54
Blueviolet
#8A2BE2
ΔE00 4.91
Lightish Purple
#A552E6
ΔE00 5.58
Violet (survey)
#9A0EEA
ΔE00 6.12
Electric Purple
#AA23FF
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F47D9 #91D947
analogous
#4748D9 #8F47D9 #D847D9
triadic
#8F47D9 #D98F47 #47D98F
tetradic
#8F47D9 #D94748 #91D947 #47D9D8
square
#8F47D9 #D94748 #91D947 #47D9D8
split-complementary
#8F47D9 #D9D847 #48D947
monochromatic
#521C89 #7027BC #8F47D9 #AE7AE3 #CDACEE
Accessibility & contrast
On white
5.16
#8F47D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#8F47D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F47D9
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F47D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F47D9 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#006DD6
Tritanopia (blue-blind)
#80688A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8f47d9; /* rgb */ color: rgb(143, 71, 217); /* oklch */ color: oklch(56.1% 0.213 302.6);
Tailwind
colors: {
custom: {
50: '#b57fe6',
500: '#8f47d9',
950: '#000000',
},
}SCSS
$custom: #8f47d9; $custom-light: #b57fe6; $custom-dark: #000000;
JSON
{
"hex": "#8f47d9",
"rgb": {
"r": 143,
"g": 71,
"b": 217
},
"hsl": {
"h": 269.589,
"s": 65.766,
"l": 56.471
},
"oklch": {
"l": 0.56066,
"c": 0.21338,
"h": 302.6
},
"luminance": 0.15356
}Semantic roles & 50–950 ramp
primary
#8F47D9
secondary
#BEDCA0
accent
#E93F95
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84