#7937C6#7937C6
#7937C6 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.2% C 0.208 H 299.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7937C6 |
|---|---|
| RGB | rgb(121, 55, 198) |
| HSL | hsl(268, 57%, 50%) |
| HSV | hsv(268, 72%, 78%) |
| CMYK | cmyk(38.9%, 72.2%, 0%, 22.4%) |
| CIE-LAB | lab(39.37, 55.95, -63.33) |
| CIE-LCH | lch(39.37, 84.50, 311.46°) |
| OKLab | oklab(50.23% 0.1038 -0.1808) |
| OKLCH | oklch(50.23% 0.208 299.9) |
| XYZ | xyz(19.4418, 10.8743, 54.4898) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.31
Bluey Purple
#6241C7
ΔE00 4.38
Burple
#6832E3
ΔE00 4.71
Bluish Purple
#703BE7
ΔE00 4.89
Darkviolet
#9400D3
ΔE00 5.51
Darkorchid
#9932CC
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7937C6 #84C637
analogous
#373DC6 #7937C6 #C137C6
triadic
#7937C6 #C67937 #37C679
tetradic
#7937C6 #C6373D #84C637 #37C6C1
square
#7937C6 #C6373D #84C637 #37C6C1
split-complementary
#7937C6 #C6C137 #3DC637
monochromatic
#3E1C66 #5C2A96 #7937C6 #9966D4 #B996E2
Accessibility & contrast
On white
6.61
#7937C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#7937C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7937C6
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7937C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7937C6 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#675B7B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7937c6; /* rgb */ color: rgb(121, 55, 198); /* oklch */ color: oklch(50.2% 0.208 299.9);
Tailwind
colors: {
custom: {
50: '#a674d8',
500: '#7937c6',
950: '#000000',
},
}SCSS
$custom: #7937c6; $custom-light: #a674d8; $custom-dark: #000000;
JSON
{
"hex": "#7937c6",
"rgb": {
"r": 121,
"g": 55,
"b": 198
},
"hsl": {
"h": 267.692,
"s": 56.522,
"l": 49.608
},
"oklch": {
"l": 0.5023,
"c": 0.20847,
"h": 299.9
},
"luminance": 0.10875
}Semantic roles & 50–950 ramp
primary
#7937C6
secondary
#AFCD8C
accent
#E0489A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83