#8F47C2#8F47C2
#8F47C2 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.5% C 0.189 H 308.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #8F47C2 |
|---|---|
| RGB | rgb(143, 71, 194) |
| HSL | hsl(275, 50%, 52%) |
| HSV | hsv(275, 63%, 76%) |
| CMYK | cmyk(26.3%, 63.4%, 0%, 23.9%) |
| CIE-LAB | lab(44.58, 51.89, -52.44) |
| CIE-LCH | lch(44.58, 73.77, 314.70°) |
| OKLab | oklab(54.47% 0.117 -0.1481) |
| OKLCH | oklch(54.47% 0.189 308.3) |
| XYZ | xyz(23.3166, 14.2415, 52.5490) |
| Luminance | 0.1424 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.72
Purply
#983FB2
ΔE00 3.90
Royal Purple
#7851A9
ΔE00 5.98
Deep Lavender
#8D5EB7
ΔE00 6.30
Blueviolet
#8A2BE2
ΔE00 6.38
Purpley
#8756E4
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F47C2 #7AC247
analogous
#5247C2 #8F47C2 #C247B8
triadic
#8F47C2 #C28F47 #47C28F
tetradic
#8F47C2 #C25247 #7AC247 #47B8C2
square
#8F47C2 #C25247 #7AC247 #47B8C2
split-complementary
#8F47C2 #B8C247 #47C252
monochromatic
#4D246B #6F3399 #8F47C2 #AB75D1 #C7A3E0
Accessibility & contrast
On white
5.46
#8F47C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#8F47C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F47C2
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F47C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F47C2 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#326ABF
Tritanopia (blue-blind)
#87607E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8f47c2; /* rgb */ color: rgb(143, 71, 194); /* oklch */ color: oklch(54.5% 0.189 308.3);
Tailwind
colors: {
custom: {
50: '#b37ed5',
500: '#8f47c2',
950: '#000000',
},
}SCSS
$custom: #8f47c2; $custom-light: #b37ed5; $custom-dark: #000000;
JSON
{
"hex": "#8f47c2",
"rgb": {
"r": 143,
"g": 71,
"b": 194
},
"hsl": {
"h": 275.122,
"s": 50.204,
"l": 51.961
},
"oklch": {
"l": 0.54469,
"c": 0.18877,
"h": 308.3
},
"luminance": 0.14241
}Semantic roles & 50–950 ramp
primary
#8F47C2
secondary
#AECD97
accent
#DA4E88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83