#8947C4#8947C4
#8947C4 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.9% C 0.189 H 305.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8947C4 |
|---|---|
| RGB | rgb(137, 71, 196) |
| HSL | hsl(272, 51%, 52%) |
| HSV | hsv(272, 64%, 77%) |
| CMYK | cmyk(30.1%, 63.8%, 0%, 23.1%) |
| CIE-LAB | lab(43.96, 51.00, -54.63) |
| CIE-LCH | lch(43.96, 74.73, 313.03°) |
| OKLab | oklab(53.9% 0.109 -0.1547) |
| OKLCH | oklch(53.9% 0.189 305.2) |
| XYZ | xyz(22.5314, 13.8105, 53.6926) |
| Luminance | 0.1381 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.07
Purply
#983FB2
ΔE00 4.95
Royal Purple
#7851A9
ΔE00 5.62
Blueviolet
#8A2BE2
ΔE00 5.77
Purpley
#8756E4
ΔE00 6.41
Deep Lavender
#8D5EB7
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8947C4 #82C447
analogous
#4B47C4 #8947C4 #C447C0
triadic
#8947C4 #C48947 #47C489
tetradic
#8947C4 #C44B47 #82C447 #47C0C4
square
#8947C4 #C44B47 #82C447 #47C0C4
split-complementary
#8947C4 #C0C447 #47C44B
monochromatic
#4A236D #6A329C #8947C4 #A775D3 #C4A4E2
Accessibility & contrast
On white
5.58
#8947C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#8947C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8947C4
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8947C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8947C4 | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#2768C1
Tritanopia (blue-blind)
#7F617F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8947c4; /* rgb */ color: rgb(137, 71, 196); /* oklch */ color: oklch(53.9% 0.189 305.2);
Tailwind
colors: {
custom: {
50: '#b07ed7',
500: '#8947c4',
950: '#000000',
},
}SCSS
$custom: #8947c4; $custom-light: #b07ed7; $custom-dark: #000000;
JSON
{
"hex": "#8947c4",
"rgb": {
"r": 137,
"g": 71,
"b": 196
},
"hsl": {
"h": 271.68,
"s": 51.44,
"l": 52.353
},
"oklch": {
"l": 0.53901,
"c": 0.1893,
"h": 305.2
},
"luminance": 0.1381
}Semantic roles & 50–950 ramp
primary
#8947C4
secondary
#B2CF98
accent
#DB4D90
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83