#8946C4#8946C4
#8946C4 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.8% C 0.191 H 305.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8946C4 |
|---|---|
| RGB | rgb(137, 70, 196) |
| HSL | hsl(272, 52%, 52%) |
| HSV | hsv(272, 64%, 77%) |
| CMYK | cmyk(30.1%, 64.3%, 0%, 23.1%) |
| CIE-LAB | lab(43.78, 51.50, -54.92) |
| CIE-LCH | lch(43.78, 75.29, 313.16°) |
| OKLab | oklab(53.77% 0.1102 -0.1556) |
| OKLCH | oklch(53.77% 0.191 305.3) |
| XYZ | xyz(22.4683, 13.6844, 53.6715) |
| Luminance | 0.1368 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.91
Purply
#983FB2
ΔE00 4.89
Blueviolet
#8A2BE2
ΔE00 5.61
Royal Purple
#7851A9
ΔE00 5.72
Purpley
#8756E4
ΔE00 6.55
Deep Lavender
#8D5EB7
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8946C4 #81C446
analogous
#4A46C4 #8946C4 #C446C0
triadic
#8946C4 #C48946 #46C489
tetradic
#8946C4 #C44A46 #81C446 #46C0C4
square
#8946C4 #C44A46 #81C446 #46C0C4
split-complementary
#8946C4 #C0C446 #46C44A
monochromatic
#4A236D #6A329B #8946C4 #A774D3 #C4A3E2
Accessibility & contrast
On white
5.62
#8946C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#8946C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8946C4
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8946C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8946C4 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#2568C1
Tritanopia (blue-blind)
#7F617F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8946c4; /* rgb */ color: rgb(137, 70, 196); /* oklch */ color: oklch(53.8% 0.191 305.3);
Tailwind
colors: {
custom: {
50: '#b07dd7',
500: '#8946c4',
950: '#000000',
},
}SCSS
$custom: #8946c4; $custom-light: #b07dd7; $custom-dark: #000000;
JSON
{
"hex": "#8946c4",
"rgb": {
"r": 137,
"g": 70,
"b": 196
},
"hsl": {
"h": 271.905,
"s": 51.639,
"l": 52.157
},
"oklch": {
"l": 0.53769,
"c": 0.19067,
"h": 305.3
},
"luminance": 0.13684
}Semantic roles & 50–950 ramp
primary
#8946C4
secondary
#B1CE97
accent
#DB4D8F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83