#7936C4#7936C4
#7936C4 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.207 H 300.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7936C4 |
|---|---|
| RGB | rgb(121, 54, 196) |
| HSL | hsl(268, 57%, 49%) |
| HSV | hsv(268, 72%, 77%) |
| CMYK | cmyk(38.3%, 72.4%, 0%, 23.1%) |
| CIE-LAB | lab(39.05, 55.91, -62.67) |
| CIE-LCH | lch(39.05, 83.99, 311.74°) |
| OKLab | oklab(49.96% 0.1052 -0.1789) |
| OKLCH | oklch(49.96% 0.207 300.5) |
| XYZ | xyz(19.1657, 10.6886, 53.2672) |
| Luminance | 0.1069 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.52
Bluey Purple
#6241C7
ΔE00 4.55
Burple
#6832E3
ΔE00 4.94
Bluish Purple
#703BE7
ΔE00 5.23
Darkviolet
#9400D3
ΔE00 5.43
Darkorchid
#9932CC
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7936C4 #81C436
analogous
#363AC4 #7936C4 #C036C4
triadic
#7936C4 #C47936 #36C479
tetradic
#7936C4 #C4363A #81C436 #36C4C0
square
#7936C4 #C4363A #81C436 #36C4C0
split-complementary
#7936C4 #C4C036 #3AC436
monochromatic
#3E1C64 #5B2994 #7936C4 #9863D4 #B893E1
Accessibility & contrast
On white
6.69
#7936C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#7936C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7936C4
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7936C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7936C4 | 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)
#005BC8
Deuteranopia (green-blind)
#005BC1
Tritanopia (blue-blind)
#68597A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7936c4; /* rgb */ color: rgb(121, 54, 196); /* oklch */ color: oklch(50.0% 0.207 300.5);
Tailwind
colors: {
custom: {
50: '#a673d7',
500: '#7936c4',
950: '#000000',
},
}SCSS
$custom: #7936c4; $custom-light: #a673d7; $custom-dark: #000000;
JSON
{
"hex": "#7936c4",
"rgb": {
"r": 121,
"g": 54,
"b": 196
},
"hsl": {
"h": 268.31,
"s": 56.8,
"l": 49.02
},
"oklch": {
"l": 0.49956,
"c": 0.20749,
"h": 300.5
},
"luminance": 0.10689
}Semantic roles & 50–950 ramp
primary
#7936C4
secondary
#ADCC89
accent
#E04898
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83