#8F47BC#8F47BC
#8F47BC is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.182 H 310.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #8F47BC |
|---|---|
| RGB | rgb(143, 71, 188) |
| HSL | hsl(277, 47%, 51%) |
| HSV | hsv(277, 62%, 74%) |
| CMYK | cmyk(23.9%, 62.2%, 0%, 26.3%) |
| CIE-LAB | lab(44.20, 50.53, -49.55) |
| CIE-LCH | lch(44.20, 70.77, 315.57°) |
| OKLab | oklab(54.08% 0.1173 -0.1396) |
| OKLCH | oklch(54.08% 0.182 310) |
| XYZ | xyz(22.6563, 13.9774, 49.0716) |
| Luminance | 0.1398 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.12
Darkorchid
#9932CC
ΔE00 4.06
Royal Purple
#7851A9
ΔE00 5.58
Deep Lavender
#8D5EB7
ΔE00 6.12
Medium Purple
#9E43A2
ΔE00 6.51
Barney
#AC1DB8
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F47BC #74BC47
analogous
#5447BC #8F47BC #BC47AF
triadic
#8F47BC #BC8F47 #47BC8F
tetradic
#8F47BC #BC5447 #74BC47 #47AFBC
square
#8F47BC #BC5447 #74BC47 #47AFBC
split-complementary
#8F47BC #AFBC47 #47BC54
monochromatic
#4C2464 #6E3591 #8F47BC #AA74CC #C6A1DD
Accessibility & contrast
On white
5.53
#8F47BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#8F47BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F47BC
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F47BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F47BC | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1065C0
Deuteranopia (green-blind)
#396AB9
Tritanopia (blue-blind)
#895E7B
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8f47bc; /* rgb */ color: rgb(143, 71, 188); /* oklch */ color: oklch(54.1% 0.182 310.0);
Tailwind
colors: {
custom: {
50: '#b37ed1',
500: '#8f47bc',
950: '#000000',
},
}SCSS
$custom: #8f47bc; $custom-light: #b37ed1; $custom-dark: #000000;
JSON
{
"hex": "#8f47bc",
"rgb": {
"r": 143,
"g": 71,
"b": 188
},
"hsl": {
"h": 276.923,
"s": 46.614,
"l": 50.784
},
"oklch": {
"l": 0.54075,
"c": 0.18234,
"h": 310
},
"luminance": 0.13977
}Semantic roles & 50–950 ramp
primary
#8F47BC
secondary
#A9C995
accent
#D65285
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82