#7947C5#7947C5
#7947C5 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.2% C 0.187 H 297.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7947C5 |
|---|---|
| RGB | rgb(121, 71, 197) |
| HSL | hsl(264, 52%, 53%) |
| HSV | hsv(264, 64%, 77%) |
| CMYK | cmyk(38.6%, 64%, 0%, 22.7%) |
| CIE-LAB | lab(42.16, 47.77, -58.21) |
| CIE-LCH | lch(42.16, 75.31, 309.37°) |
| OKLab | oklab(52.2% 0.0874 -0.1658) |
| OKLCH | oklch(52.2% 0.187 297.8) |
| XYZ | xyz(20.2139, 12.6023, 54.1800) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.36
Bluish Purple
#703BE7
ΔE00 5.24
Royal Purple
#7851A9
ΔE00 5.51
Blueviolet
#8A2BE2
ΔE00 5.78
Light Indigo
#6D5ACF
ΔE00 6.09
Darkorchid
#9932CC
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7947C5 #93C547
analogous
#4754C5 #7947C5 #B847C5
triadic
#7947C5 #C57947 #47C579
tetradic
#7947C5 #C54754 #93C547 #47C5B8
square
#7947C5 #C54754 #93C547 #47C5B8
split-complementary
#7947C5 #C5B847 #54C547
monochromatic
#41236F #5C329D #7947C5 #9B76D4 #BDA4E2
Accessibility & contrast
On white
5.96
#7947C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#7947C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7947C5
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7947C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7947C5 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#676380
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7947c5; /* rgb */ color: rgb(121, 71, 197); /* oklch */ color: oklch(52.2% 0.187 297.8);
Tailwind
colors: {
custom: {
50: '#a57dd7',
500: '#7947c5',
950: '#000000',
},
}SCSS
$custom: #7947c5; $custom-light: #a57dd7; $custom-dark: #000000;
JSON
{
"hex": "#7947c5",
"rgb": {
"r": 121,
"g": 71,
"b": 197
},
"hsl": {
"h": 263.81,
"s": 52.066,
"l": 52.549
},
"oklch": {
"l": 0.52203,
"c": 0.18745,
"h": 297.8
},
"luminance": 0.12603
}Semantic roles & 50–950 ramp
primary
#7947C5
secondary
#BACF99
accent
#DC4CA3
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83