#7939C4#7939C4
#7939C4 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.3% C 0.204 H 300.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7939C4 |
|---|---|
| RGB | rgb(121, 57, 196) |
| HSL | hsl(268, 55%, 50%) |
| HSV | hsv(268, 71%, 77%) |
| CMYK | cmyk(38.3%, 70.9%, 0%, 23.1%) |
| CIE-LAB | lab(39.54, 54.53, -61.88) |
| CIE-LCH | lch(39.54, 82.48, 311.39°) |
| OKLab | oklab(50.3% 0.1023 -0.1765) |
| OKLCH | oklch(50.3% 0.204 300.1) |
| XYZ | xyz(19.3096, 10.9765, 53.3152) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.33
Blueviolet
#8A2BE2
ΔE00 4.57
Burple
#6832E3
ΔE00 5.02
Bluish Purple
#703BE7
ΔE00 5.08
Darkorchid
#9932CC
ΔE00 5.56
Darkviolet
#9400D3
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7939C4 #84C439
analogous
#393EC4 #7939C4 #BF39C4
triadic
#7939C4 #C47939 #39C479
tetradic
#7939C4 #C4393E #84C439 #39C4BF
square
#7939C4 #C4393E #84C439 #39C4BF
split-complementary
#7939C4 #C4BF39 #3EC439
monochromatic
#3E1D65 #5C2B95 #7939C4 #9967D3 #B997E1
Accessibility & contrast
On white
6.57
#7939C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#7939C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7939C4
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7939C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7939C4 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#685B7B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7939c4; /* rgb */ color: rgb(121, 57, 196); /* oklch */ color: oklch(50.3% 0.204 300.1);
Tailwind
colors: {
custom: {
50: '#a675d7',
500: '#7939c4',
950: '#000000',
},
}SCSS
$custom: #7939c4; $custom-light: #a675d7; $custom-dark: #000000;
JSON
{
"hex": "#7939c4",
"rgb": {
"r": 121,
"g": 57,
"b": 196
},
"hsl": {
"h": 267.626,
"s": 54.941,
"l": 49.608
},
"oklch": {
"l": 0.50304,
"c": 0.20403,
"h": 300.1
},
"luminance": 0.10977
}Semantic roles & 50–950 ramp
primary
#7939C4
secondary
#AFCC8D
accent
#DE4A9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83