#7947C6#7947C6
#7947C6 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.189 H 297.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7947C6 |
|---|---|
| RGB | rgb(121, 71, 198) |
| HSL | hsl(264, 53%, 53%) |
| HSV | hsv(264, 64%, 78%) |
| CMYK | cmyk(38.9%, 64.1%, 0%, 22.4%) |
| CIE-LAB | lab(42.23, 48.03, -58.68) |
| CIE-LCH | lch(42.23, 75.83, 309.30°) |
| OKLab | oklab(52.28% 0.0873 -0.1672) |
| OKLCH | oklch(52.28% 0.189 297.6) |
| XYZ | xyz(20.3288, 12.6483, 54.7855) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.33
Bluish Purple
#703BE7
ΔE00 5.11
Royal Purple
#7851A9
ΔE00 5.63
Blueviolet
#8A2BE2
ΔE00 5.70
Light Indigo
#6D5ACF
ΔE00 6.02
Burple
#6832E3
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7947C6 #94C647
analogous
#4754C6 #7947C6 #B847C6
triadic
#7947C6 #C67947 #47C679
tetradic
#7947C6 #C64754 #94C647 #47C6B8
square
#7947C6 #C64754 #94C647 #47C6B8
split-complementary
#7947C6 #C6B847 #54C647
monochromatic
#412370 #5C319F #7947C6 #9B76D4 #BDA4E3
Accessibility & contrast
On white
5.95
#7947C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#7947C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7947C6
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7947C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7947C6 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#676480
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7947c6; /* rgb */ color: rgb(121, 71, 198); /* oklch */ color: oklch(52.3% 0.189 297.6);
Tailwind
colors: {
custom: {
50: '#a57dd8',
500: '#7947c6',
950: '#000000',
},
}SCSS
$custom: #7947c6; $custom-light: #a57dd8; $custom-dark: #000000;
JSON
{
"hex": "#7947c6",
"rgb": {
"r": 121,
"g": 71,
"b": 198
},
"hsl": {
"h": 263.622,
"s": 52.697,
"l": 52.745
},
"oklch": {
"l": 0.52276,
"c": 0.18862,
"h": 297.6
},
"luminance": 0.12649
}Semantic roles & 50–950 ramp
primary
#7947C6
secondary
#BAD099
accent
#DC4CA3
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A15
muted
#7F7C83