#8949C7#8949C7
#8949C7 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.4% C 0.190 H 304.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8949C7 |
|---|---|
| RGB | rgb(137, 73, 199) |
| HSL | hsl(270, 53%, 53%) |
| HSV | hsv(270, 63%, 78%) |
| CMYK | cmyk(31.2%, 63.3%, 0%, 22%) |
| CIE-LAB | lab(44.53, 50.70, -55.45) |
| CIE-LCH | lch(44.53, 75.14, 312.44°) |
| OKLab | oklab(54.37% 0.1065 -0.1572) |
| OKLCH | oklch(54.37% 0.19 304.1) |
| XYZ | xyz(23.0056, 14.2071, 55.5520) |
| Luminance | 0.1421 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.41
Purply
#983FB2
ΔE00 5.45
Purpley
#8756E4
ΔE00 5.73
Royal Purple
#7851A9
ΔE00 5.78
Blueviolet
#8A2BE2
ΔE00 5.83
Deep Lavender
#8D5EB7
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8949C7 #87C749
analogous
#4A49C7 #8949C7 #C749C6
triadic
#8949C7 #C78949 #49C789
tetradic
#8949C7 #C74A49 #87C749 #49C6C7
square
#8949C7 #C74A49 #87C749 #49C6C7
split-complementary
#8949C7 #C6C749 #49C74A
monochromatic
#4B2372 #6A32A1 #8949C7 #A778D5 #C6A7E4
Accessibility & contrast
On white
5.47
#8949C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#8949C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8949C7
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8949C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8949C7 | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#2669C4
Tritanopia (blue-blind)
#7E6481
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8949c7; /* rgb */ color: rgb(137, 73, 199); /* oklch */ color: oklch(54.4% 0.190 304.1);
Tailwind
colors: {
custom: {
50: '#b07fd9',
500: '#8949c7',
950: '#000000',
},
}SCSS
$custom: #8949c7; $custom-light: #b07fd9; $custom-dark: #000000;
JSON
{
"hex": "#8949c7",
"rgb": {
"r": 137,
"g": 73,
"b": 199
},
"hsl": {
"h": 270.476,
"s": 52.941,
"l": 53.333
},
"oklch": {
"l": 0.54375,
"c": 0.18987,
"h": 304.1
},
"luminance": 0.14207
}Semantic roles & 50–950 ramp
primary
#8949C7
secondary
#B5D19B
accent
#DC4B93
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A15
muted
#807C83