#7935C2#7935C2
#7935C2 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.7% C 0.207 H 301.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7935C2 |
|---|---|
| RGB | rgb(121, 53, 194) |
| HSL | hsl(269, 57%, 48%) |
| HSV | hsv(269, 73%, 76%) |
| CMYK | cmyk(37.6%, 72.7%, 0%, 23.9%) |
| CIE-LAB | lab(38.74, 55.88, -62.02) |
| CIE-LCH | lch(38.74, 83.48, 312.02°) |
| OKLab | oklab(49.69% 0.1065 -0.1769) |
| OKLCH | oklch(49.69% 0.207 301.1) |
| XYZ | xyz(18.8935, 10.5061, 52.0610) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.74
Blueviolet
#8A2BE2
ΔE00 4.75
Burple
#6832E3
ΔE00 5.19
Darkviolet
#9400D3
ΔE00 5.37
Bluish Purple
#703BE7
ΔE00 5.57
Darkorchid
#9932CC
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7935C2 #7EC235
analogous
#3537C2 #7935C2 #BF35C2
triadic
#7935C2 #C27935 #35C279
tetradic
#7935C2 #C23537 #7EC235 #35C2BF
square
#7935C2 #C23537 #7EC235 #35C2BF
split-complementary
#7935C2 #C2BF35 #37C235
monochromatic
#3D1B62 #5B2892 #7935C2 #9860D4 #B791E1
Accessibility & contrast
On white
6.77
#7935C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#7935C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7935C2
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7935C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7935C2 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#695878
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7935c2; /* rgb */ color: rgb(121, 53, 194); /* oklch */ color: oklch(49.7% 0.207 301.1);
Tailwind
colors: {
custom: {
50: '#a672d5',
500: '#7935c2',
950: '#000000',
},
}SCSS
$custom: #7935c2; $custom-light: #a672d5; $custom-dark: #000000;
JSON
{
"hex": "#7935c2",
"rgb": {
"r": 121,
"g": 53,
"b": 194
},
"hsl": {
"h": 268.936,
"s": 57.085,
"l": 48.431
},
"oklch": {
"l": 0.49685,
"c": 0.20653,
"h": 301.1
},
"luminance": 0.10506
}Semantic roles & 50–950 ramp
primary
#7935C2
secondary
#ABCC87
accent
#E04797
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83