#7937C2#7937C2
#7937C2 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.9% C 0.204 H 300.8°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7937C2 |
|---|---|
| RGB | rgb(121, 55, 194) |
| HSL | hsl(268, 56%, 49%) |
| HSV | hsv(268, 72%, 76%) |
| CMYK | cmyk(37.6%, 71.6%, 0%, 23.9%) |
| CIE-LAB | lab(39.06, 54.97, -61.50) |
| CIE-LCH | lch(39.06, 82.48, 311.79°) |
| OKLab | oklab(49.91% 0.1046 -0.1754) |
| OKLCH | oklch(49.91% 0.204 300.8) |
| XYZ | xyz(18.9866, 10.6922, 52.0920) |
| Luminance | 0.1069 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.58
Blueviolet
#8A2BE2
ΔE00 4.76
Burple
#6832E3
ΔE00 5.22
Bluish Purple
#703BE7
ΔE00 5.46
Darkviolet
#9400D3
ΔE00 5.59
Darkorchid
#9932CC
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7937C2 #80C237
analogous
#373BC2 #7937C2 #BF37C2
triadic
#7937C2 #C27937 #37C279
tetradic
#7937C2 #C2373B #80C237 #37C2BF
square
#7937C2 #C2373B #80C237 #37C2BF
split-complementary
#7937C2 #C2BF37 #3BC237
monochromatic
#3E1C63 #5B2992 #7937C2 #9863D3 #B893E0
Accessibility & contrast
On white
6.69
#7937C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#7937C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7937C2
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7937C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7937C2 | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#695979
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7937c2; /* rgb */ color: rgb(121, 55, 194); /* oklch */ color: oklch(49.9% 0.204 300.8);
Tailwind
colors: {
custom: {
50: '#a674d5',
500: '#7937c2',
950: '#000000',
},
}SCSS
$custom: #7937c2; $custom-light: #a674d5; $custom-dark: #000000;
JSON
{
"hex": "#7937c2",
"rgb": {
"r": 121,
"g": 55,
"b": 194
},
"hsl": {
"h": 268.489,
"s": 55.823,
"l": 48.824
},
"oklch": {
"l": 0.49912,
"c": 0.20423,
"h": 300.8
},
"luminance": 0.10692
}Semantic roles & 50–950 ramp
primary
#7937C2
secondary
#ACCB89
accent
#DF4998
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83