#8946C8#8946C8
#8946C8 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.0% C 0.195 H 304.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8946C8 |
|---|---|
| RGB | rgb(137, 70, 200) |
| HSL | hsl(271, 54%, 53%) |
| HSV | hsv(271, 65%, 78%) |
| CMYK | cmyk(31.5%, 65%, 0%, 21.6%) |
| CIE-LAB | lab(44.04, 52.45, -56.81) |
| CIE-LCH | lch(44.04, 77.32, 312.71°) |
| OKLab | oklab(54.05% 0.1099 -0.1612) |
| OKLCH | oklch(54.05% 0.195 304.3) |
| XYZ | xyz(22.9297, 13.8689, 56.1014) |
| Luminance | 0.1387 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.91
Blueviolet
#8A2BE2
ΔE00 5.22
Purply
#983FB2
ΔE00 5.39
Purpley
#8756E4
ΔE00 6.05
Royal Purple
#7851A9
ΔE00 6.13
Bluish Purple
#703BE7
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8946C8 #85C846
analogous
#4846C8 #8946C8 #C846C6
triadic
#8946C8 #C88946 #46C889
tetradic
#8946C8 #C84846 #85C846 #46C6C8
square
#8946C8 #C84846 #85C846 #46C6C8
split-complementary
#8946C8 #C6C846 #46C848
monochromatic
#4B2272 #6A30A1 #8946C8 #A775D6 #C5A4E4
Accessibility & contrast
On white
5.56
#8946C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#8946C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8946C8
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8946C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8946C8 | 1.00 | 5.56 | 3.77 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#1E68C5
Tritanopia (blue-blind)
#7D6281
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8946c8; /* rgb */ color: rgb(137, 70, 200); /* oklch */ color: oklch(54.0% 0.195 304.3);
Tailwind
colors: {
custom: {
50: '#b07ed9',
500: '#8946c8',
950: '#000000',
},
}SCSS
$custom: #8946c8; $custom-light: #b07ed9; $custom-dark: #000000;
JSON
{
"hex": "#8946c8",
"rgb": {
"r": 137,
"g": 70,
"b": 200
},
"hsl": {
"h": 270.923,
"s": 54.167,
"l": 52.941
},
"oklch": {
"l": 0.54047,
"c": 0.19505,
"h": 304.3
},
"luminance": 0.13869
}Semantic roles & 50–950 ramp
primary
#8946C8
secondary
#B4D199
accent
#DE4A92
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83