#8949C6#8949C6
#8949C6 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.3% C 0.189 H 304.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #8949C6 |
|---|---|
| RGB | rgb(137, 73, 198) |
| HSL | hsl(271, 52%, 53%) |
| HSV | hsv(271, 63%, 78%) |
| CMYK | cmyk(30.8%, 63.1%, 0%, 22.4%) |
| CIE-LAB | lab(44.46, 50.46, -54.98) |
| CIE-LCH | lch(44.46, 74.63, 312.55°) |
| OKLab | oklab(54.31% 0.1066 -0.1558) |
| OKLCH | oklch(54.31% 0.189 304.4) |
| XYZ | xyz(22.8898, 14.1608, 54.9425) |
| Luminance | 0.1416 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.41
Purply
#983FB2
ΔE00 5.33
Royal Purple
#7851A9
ΔE00 5.67
Purpley
#8756E4
ΔE00 5.86
Blueviolet
#8A2BE2
ΔE00 5.92
Deep Lavender
#8D5EB7
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8949C6 #86C649
analogous
#4A49C6 #8949C6 #C649C4
triadic
#8949C6 #C68949 #49C689
tetradic
#8949C6 #C64A49 #86C649 #49C4C6
square
#8949C6 #C64A49 #86C649 #49C4C6
split-complementary
#8949C6 #C4C649 #49C64A
monochromatic
#4B2371 #6A32A0 #8949C6 #A778D5 #C5A6E3
Accessibility & contrast
On white
5.48
#8949C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#8949C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8949C6
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8949C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8949C6 | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CA
Deuteranopia (green-blind)
#2769C3
Tritanopia (blue-blind)
#7E6381
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8949c6; /* rgb */ color: rgb(137, 73, 198); /* oklch */ color: oklch(54.3% 0.189 304.4);
Tailwind
colors: {
custom: {
50: '#b07fd8',
500: '#8949c6',
950: '#000000',
},
}SCSS
$custom: #8949c6; $custom-light: #b07fd8; $custom-dark: #000000;
JSON
{
"hex": "#8949c6",
"rgb": {
"r": 137,
"g": 73,
"b": 198
},
"hsl": {
"h": 270.72,
"s": 52.301,
"l": 53.137
},
"oklch": {
"l": 0.54306,
"c": 0.18875,
"h": 304.4
},
"luminance": 0.14161
}Semantic roles & 50–950 ramp
primary
#8949C6
secondary
#B5D09A
accent
#DC4C92
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83