#8946C7#8946C7
#8946C7 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 54.0% C 0.194 H 304.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8946C7 |
|---|---|
| RGB | rgb(137, 70, 199) |
| HSL | hsl(271, 54%, 53%) |
| HSV | hsv(271, 65%, 78%) |
| CMYK | cmyk(31.2%, 64.8%, 0%, 22%) |
| CIE-LAB | lab(43.98, 52.21, -56.34) |
| CIE-LCH | lch(43.98, 76.81, 312.82°) |
| OKLab | oklab(53.98% 0.11 -0.1598) |
| OKLCH | oklch(53.98% 0.194 304.5) |
| XYZ | xyz(22.8132, 13.8223, 55.4879) |
| Luminance | 0.1382 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.90
Purply
#983FB2
ΔE00 5.26
Blueviolet
#8A2BE2
ΔE00 5.31
Royal Purple
#7851A9
ΔE00 6.02
Purpley
#8756E4
ΔE00 6.17
Bluish Purple
#703BE7
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8946C7 #84C746
analogous
#4946C7 #8946C7 #C746C4
triadic
#8946C7 #C78946 #46C789
tetradic
#8946C7 #C74946 #84C746 #46C4C7
square
#8946C7 #C74946 #84C746 #46C4C7
split-complementary
#8946C7 #C4C746 #46C749
monochromatic
#4B2271 #6A30A0 #8946C7 #A775D5 #C5A4E3
Accessibility & contrast
On white
5.58
#8946C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#8946C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8946C7
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8946C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8946C7 | 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)
#0066CB
Deuteranopia (green-blind)
#2068C4
Tritanopia (blue-blind)
#7E6280
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8946c7; /* rgb */ color: rgb(137, 70, 199); /* oklch */ color: oklch(54.0% 0.194 304.5);
Tailwind
colors: {
custom: {
50: '#b07ed9',
500: '#8946c7',
950: '#000000',
},
}SCSS
$custom: #8946c7; $custom-light: #b07ed9; $custom-dark: #000000;
JSON
{
"hex": "#8946c7",
"rgb": {
"r": 137,
"g": 70,
"b": 199
},
"hsl": {
"h": 271.163,
"s": 53.527,
"l": 52.745
},
"oklch": {
"l": 0.53977,
"c": 0.19396,
"h": 304.5
},
"luminance": 0.13822
}Semantic roles & 50–950 ramp
primary
#8946C7
secondary
#B3D098
accent
#DD4B91
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A15
muted
#807C83