#7934C0#7934C0
#7934C0 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.206 H 301.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7934C0 |
|---|---|
| RGB | rgb(121, 52, 192) |
| HSL | hsl(270, 57%, 48%) |
| HSV | hsv(270, 73%, 75%) |
| CMYK | cmyk(37%, 72.9%, 0%, 24.7%) |
| CIE-LAB | lab(38.42, 55.84, -61.36) |
| CIE-LCH | lch(38.42, 82.96, 312.30°) |
| OKLab | oklab(49.41% 0.1079 -0.175) |
| OKLCH | oklch(49.41% 0.206 301.7) |
| XYZ | xyz(18.6253, 10.3266, 50.8709) |
| Luminance | 0.1033 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.96
Blueviolet
#8A2BE2
ΔE00 4.99
Darkviolet
#9400D3
ΔE00 5.34
Burple
#6832E3
ΔE00 5.46
Darkorchid
#9932CC
ΔE00 5.76
Bluish Purple
#703BE7
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7934C0 #7BC034
analogous
#3435C0 #7934C0 #BF34C0
triadic
#7934C0 #C07934 #34C079
tetradic
#7934C0 #C03435 #7BC034 #34C0BF
square
#7934C0 #C03435 #7BC034 #34C0BF
split-complementary
#7934C0 #C0BF34 #35C034
monochromatic
#3C1A60 #5B2790 #7934C0 #985ED3 #B78EE0
Accessibility & contrast
On white
6.85
#7934C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#7934C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7934C0
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7934C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7934C0 | 1.00 | 6.85 | 3.07 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#6A5777
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7934c0; /* rgb */ color: rgb(121, 52, 192); /* oklch */ color: oklch(49.4% 0.206 301.7);
Tailwind
colors: {
custom: {
50: '#a672d4',
500: '#7934c0',
950: '#000000',
},
}SCSS
$custom: #7934c0; $custom-light: #a672d4; $custom-dark: #000000;
JSON
{
"hex": "#7934c0",
"rgb": {
"r": 121,
"g": 52,
"b": 192
},
"hsl": {
"h": 269.571,
"s": 57.377,
"l": 47.843
},
"oklch": {
"l": 0.49414,
"c": 0.20556,
"h": 301.7
},
"luminance": 0.10327
}Semantic roles & 50–950 ramp
primary
#7934C0
secondary
#A8CB85
accent
#E14795
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83