#7939C2#7939C2
#7939C2 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.1% C 0.202 H 300.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7939C2 |
|---|---|
| RGB | rgb(121, 57, 194) |
| HSL | hsl(268, 55%, 49%) |
| HSV | hsv(268, 71%, 76%) |
| CMYK | cmyk(37.6%, 70.6%, 0%, 23.9%) |
| CIE-LAB | lab(39.39, 54.04, -60.96) |
| CIE-LCH | lch(39.39, 81.46, 311.56°) |
| OKLab | oklab(50.15% 0.1027 -0.1738) |
| OKLCH | oklch(50.15% 0.202 300.6) |
| XYZ | xyz(19.0835, 10.8861, 52.1243) |
| Luminance | 0.1089 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.44
Blueviolet
#8A2BE2
ΔE00 4.79
Burple
#6832E3
ΔE00 5.27
Bluish Purple
#703BE7
ΔE00 5.37
Darkorchid
#9932CC
ΔE00 5.58
Darkviolet
#9400D3
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7939C2 #82C239
analogous
#393EC2 #7939C2 #BE39C2
triadic
#7939C2 #C27939 #39C279
tetradic
#7939C2 #C2393E #82C239 #39C2BE
square
#7939C2 #C2393E #82C239 #39C2BE
split-complementary
#7939C2 #C2BE39 #3EC239
monochromatic
#3E1D63 #5B2B93 #7939C2 #9966D2 #B895E0
Accessibility & contrast
On white
6.61
#7939C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#7939C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7939C2
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7939C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7939C2 | 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)
#005CC6
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#695A7A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7939c2; /* rgb */ color: rgb(121, 57, 194); /* oklch */ color: oklch(50.1% 0.202 300.6);
Tailwind
colors: {
custom: {
50: '#a675d5',
500: '#7939c2',
950: '#000000',
},
}SCSS
$custom: #7939c2; $custom-light: #a675d5; $custom-dark: #000000;
JSON
{
"hex": "#7939c2",
"rgb": {
"r": 121,
"g": 57,
"b": 194
},
"hsl": {
"h": 268.029,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.50147,
"c": 0.20188,
"h": 300.6
},
"luminance": 0.10886
}Semantic roles & 50–950 ramp
primary
#7939C2
secondary
#ADCB8B
accent
#DE4A99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83