#7935C6#7935C6
#7935C6 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.211 H 300.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7935C6 |
|---|---|
| RGB | rgb(121, 53, 198) |
| HSL | hsl(268, 58%, 49%) |
| HSV | hsv(268, 73%, 78%) |
| CMYK | cmyk(38.9%, 73.2%, 0%, 22.4%) |
| CIE-LAB | lab(39.05, 56.85, -63.84) |
| CIE-LCH | lch(39.05, 85.48, 311.68°) |
| OKLab | oklab(50.01% 0.1057 -0.1823) |
| OKLCH | oklch(50.01% 0.211 300.1) |
| XYZ | xyz(19.3488, 10.6882, 54.4588) |
| Luminance | 0.1069 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.30
Bluey Purple
#6241C7
ΔE00 4.54
Burple
#6832E3
ΔE00 4.68
Bluish Purple
#703BE7
ΔE00 5.01
Darkviolet
#9400D3
ΔE00 5.28
Darkorchid
#9932CC
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7935C6 #82C635
analogous
#353AC6 #7935C6 #C235C6
triadic
#7935C6 #C67935 #35C679
tetradic
#7935C6 #C6353A #82C635 #35C6C2
square
#7935C6 #C6353A #82C635 #35C6C2
split-complementary
#7935C6 #C6C235 #3AC635
monochromatic
#3E1B65 #5B2896 #7935C6 #9963D5 #B893E2
Accessibility & contrast
On white
6.69
#7935C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#7935C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7935C6
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7935C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7935C6 | 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)
#005CCA
Deuteranopia (green-blind)
#005BC3
Tritanopia (blue-blind)
#675A7B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7935c6; /* rgb */ color: rgb(121, 53, 198); /* oklch */ color: oklch(50.0% 0.211 300.1);
Tailwind
colors: {
custom: {
50: '#a673d8',
500: '#7935c6',
950: '#000000',
},
}SCSS
$custom: #7935c6; $custom-light: #a673d8; $custom-dark: #000000;
JSON
{
"hex": "#7935c6",
"rgb": {
"r": 121,
"g": 53,
"b": 198
},
"hsl": {
"h": 268.138,
"s": 57.769,
"l": 49.216
},
"oklch": {
"l": 0.50005,
"c": 0.21071,
"h": 300.1
},
"luminance": 0.10688
}Semantic roles & 50–950 ramp
primary
#7935C6
secondary
#ADCD8A
accent
#E14799
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83