#8947C7#8947C7
#8947C7 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.1% C 0.193 H 304.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8947C7 |
|---|---|
| RGB | rgb(137, 71, 199) |
| HSL | hsl(271, 53%, 53%) |
| HSV | hsv(271, 64%, 78%) |
| CMYK | cmyk(31.2%, 64.3%, 0%, 22%) |
| CIE-LAB | lab(44.16, 51.71, -56.05) |
| CIE-LCH | lch(44.16, 76.26, 312.70°) |
| OKLab | oklab(54.11% 0.1088 -0.1589) |
| OKLCH | oklch(54.11% 0.193 304.4) |
| XYZ | xyz(22.8763, 13.9485, 55.5089) |
| Luminance | 0.1395 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.07
Purply
#983FB2
ΔE00 5.31
Blueviolet
#8A2BE2
ΔE00 5.48
Royal Purple
#7851A9
ΔE00 5.94
Purpley
#8756E4
ΔE00 6.02
Bluish Purple
#703BE7
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8947C7 #85C747
analogous
#4947C7 #8947C7 #C747C5
triadic
#8947C7 #C78947 #47C789
tetradic
#8947C7 #C74947 #85C747 #47C5C7
square
#8947C7 #C74947 #85C747 #47C5C7
split-complementary
#8947C7 #C5C747 #47C749
monochromatic
#4B2271 #6A31A0 #8947C7 #A776D5 #C5A5E4
Accessibility & contrast
On white
5.54
#8947C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#8947C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8947C7
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8947C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8947C7 | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#2268C4
Tritanopia (blue-blind)
#7E6281
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8947c7; /* rgb */ color: rgb(137, 71, 199); /* oklch */ color: oklch(54.1% 0.193 304.4);
Tailwind
colors: {
custom: {
50: '#b07ed9',
500: '#8947c7',
950: '#000000',
},
}SCSS
$custom: #8947c7; $custom-light: #b07ed9; $custom-dark: #000000;
JSON
{
"hex": "#8947c7",
"rgb": {
"r": 137,
"g": 71,
"b": 199
},
"hsl": {
"h": 270.938,
"s": 53.333,
"l": 52.941
},
"oklch": {
"l": 0.54108,
"c": 0.19261,
"h": 304.4
},
"luminance": 0.13948
}Semantic roles & 50–950 ramp
primary
#8947C7
secondary
#B4D199
accent
#DD4B92
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A15
muted
#807C83