#7934C2#7934C2
#7934C2 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.208 H 301.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7934C2 |
|---|---|
| RGB | rgb(121, 52, 194) |
| HSL | hsl(269, 58%, 48%) |
| HSV | hsv(269, 73%, 76%) |
| CMYK | cmyk(37.6%, 73.2%, 0%, 23.9%) |
| CIE-LAB | lab(38.58, 56.32, -62.28) |
| CIE-LCH | lch(38.58, 83.97, 312.13°) |
| OKLab | oklab(49.57% 0.1075 -0.1777) |
| OKLCH | oklch(49.57% 0.208 301.2) |
| XYZ | xyz(18.8484, 10.4159, 52.0459) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.76
Bluey Purple
#6241C7
ΔE00 4.83
Burple
#6832E3
ΔE00 5.19
Darkviolet
#9400D3
ΔE00 5.27
Bluish Purple
#703BE7
ΔE00 5.63
Darkorchid
#9932CC
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7934C2 #7DC234
analogous
#3436C2 #7934C2 #C034C2
triadic
#7934C2 #C27934 #34C279
tetradic
#7934C2 #C23436 #7DC234 #34C2C0
square
#7934C2 #C23436 #7DC234 #34C2C0
split-complementary
#7934C2 #C2C034 #36C234
monochromatic
#3D1A61 #5B2792 #7934C2 #985FD4 #B78FE1
Accessibility & contrast
On white
6.81
#7934C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#7934C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7934C2
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7934C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7934C2 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 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: #7934c2; /* rgb */ color: rgb(121, 52, 194); /* oklch */ color: oklch(49.6% 0.208 301.2);
Tailwind
colors: {
custom: {
50: '#a672d5',
500: '#7934c2',
950: '#000000',
},
}SCSS
$custom: #7934c2; $custom-light: #a672d5; $custom-dark: #000000;
JSON
{
"hex": "#7934c2",
"rgb": {
"r": 121,
"g": 52,
"b": 194
},
"hsl": {
"h": 269.155,
"s": 57.724,
"l": 48.235
},
"oklch": {
"l": 0.49574,
"c": 0.20764,
"h": 301.2
},
"luminance": 0.10416
}Semantic roles & 50–950 ramp
primary
#7934C2
secondary
#AACC86
accent
#E14796
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83