#7936C5#7936C5
#7936C5 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.209 H 300.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7936C5 |
|---|---|
| RGB | rgb(121, 54, 197) |
| HSL | hsl(268, 57%, 49%) |
| HSV | hsv(268, 73%, 77%) |
| CMYK | cmyk(38.6%, 72.6%, 0%, 22.7%) |
| CIE-LAB | lab(39.13, 56.16, -63.13) |
| CIE-LCH | lch(39.13, 84.49, 311.65°) |
| OKLab | oklab(50.04% 0.105 -0.1802) |
| OKLCH | oklch(50.04% 0.209 300.2) |
| XYZ | xyz(19.2799, 10.7343, 53.8687) |
| Luminance | 0.1073 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.41
Bluey Purple
#6241C7
ΔE00 4.50
Burple
#6832E3
ΔE00 4.82
Bluish Purple
#703BE7
ΔE00 5.09
Darkviolet
#9400D3
ΔE00 5.41
Darkorchid
#9932CC
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7936C5 #82C536
analogous
#363BC5 #7936C5 #C136C5
triadic
#7936C5 #C57936 #36C579
tetradic
#7936C5 #C5363B #82C536 #36C5C1
square
#7936C5 #C5363B #82C536 #36C5C1
split-complementary
#7936C5 #C5C136 #3BC536
monochromatic
#3E1C65 #5B2995 #7936C5 #9964D4 #B894E2
Accessibility & contrast
On white
6.67
#7936C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#7936C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7936C5
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7936C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7936C5 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#685A7A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7936c5; /* rgb */ color: rgb(121, 54, 197); /* oklch */ color: oklch(50.0% 0.209 300.2);
Tailwind
colors: {
custom: {
50: '#a673d8',
500: '#7936c5',
950: '#000000',
},
}SCSS
$custom: #7936c5; $custom-light: #a673d8; $custom-dark: #000000;
JSON
{
"hex": "#7936c5",
"rgb": {
"r": 121,
"g": 54,
"b": 197
},
"hsl": {
"h": 268.112,
"s": 56.972,
"l": 49.216
},
"oklch": {
"l": 0.50036,
"c": 0.20855,
"h": 300.2
},
"luminance": 0.10734
}Semantic roles & 50–950 ramp
primary
#7936C5
secondary
#ADCD8A
accent
#E04899
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83