#7932C2#7932C2
#7932C2 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.4% C 0.210 H 301.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7932C2 |
|---|---|
| RGB | rgb(121, 50, 194) |
| HSL | hsl(270, 59%, 48%) |
| HSV | hsv(270, 74%, 76%) |
| CMYK | cmyk(37.6%, 74.2%, 0%, 23.9%) |
| CIE-LAB | lab(38.27, 57.19, -62.78) |
| CIE-LCH | lch(38.27, 84.92, 312.34°) |
| OKLab | oklab(49.36% 0.1093 -0.1791) |
| OKLCH | oklch(49.36% 0.21 301.4) |
| XYZ | xyz(18.7610, 10.2411, 52.0168) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.79
Bluey Purple
#6241C7
ΔE00 5.01
Darkviolet
#9400D3
ΔE00 5.10
Burple
#6832E3
ΔE00 5.20
Purple Blue
#5D21D0
ΔE00 5.64
Bluish Purple
#703BE7
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7932C2 #7BC232
analogous
#3233C2 #7932C2 #C132C2
triadic
#7932C2 #C27932 #32C279
tetradic
#7932C2 #C23233 #7BC232 #32C2C1
square
#7932C2 #C23233 #7BC232 #32C2C1
split-complementary
#7932C2 #C2C132 #33C232
monochromatic
#3C1961 #5B2591 #7932C2 #985CD5 #B78DE2
Accessibility & contrast
On white
6.89
#7932C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#7932C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7932C2
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7932C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7932C2 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#695778
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7932c2; /* rgb */ color: rgb(121, 50, 194); /* oklch */ color: oklch(49.4% 0.210 301.4);
Tailwind
colors: {
custom: {
50: '#a671d5',
500: '#7932c2',
950: '#000000',
},
}SCSS
$custom: #7932c2; $custom-light: #a671d5; $custom-dark: #000000;
JSON
{
"hex": "#7932c2",
"rgb": {
"r": 121,
"g": 50,
"b": 194
},
"hsl": {
"h": 269.583,
"s": 59.016,
"l": 47.843
},
"oklch": {
"l": 0.49357,
"c": 0.20984,
"h": 301.4
},
"luminance": 0.10241
}Semantic roles & 50–950 ramp
primary
#7932C2
secondary
#A8CC84
accent
#E24695
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83