#7931C4#7931C4
#7931C4 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.4% C 0.213 H 301.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7931C4 |
|---|---|
| RGB | rgb(121, 49, 196) |
| HSL | hsl(269, 60%, 48%) |
| HSV | hsv(269, 75%, 77%) |
| CMYK | cmyk(38.3%, 75%, 0%, 23.1%) |
| CIE-LAB | lab(38.28, 58.10, -63.93) |
| CIE-LCH | lch(38.28, 86.38, 312.26°) |
| OKLab | oklab(49.41% 0.1097 -0.1825) |
| OKLCH | oklch(49.41% 0.213 301) |
| XYZ | xyz(18.9448, 10.2470, 53.1936) |
| Luminance | 0.1025 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.59
Burple
#6832E3
ΔE00 4.96
Darkviolet
#9400D3
ΔE00 4.96
Bluey Purple
#6241C7
ΔE00 5.00
Purple Blue
#5D21D0
ΔE00 5.45
Bluish Purple
#703BE7
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7931C4 #7CC431
analogous
#3132C4 #7931C4 #C231C4
triadic
#7931C4 #C47931 #31C479
tetradic
#7931C4 #C43132 #7CC431 #31C4C2
square
#7931C4 #C43132 #7CC431 #31C4C2
split-complementary
#7931C4 #C4C231 #32C431
monochromatic
#3D1962 #5B2593 #7931C4 #985CD6 #B78DE2
Accessibility & contrast
On white
6.89
#7931C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#7931C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7931C4
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7931C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7931C4 | 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)
#0059C8
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#685779
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7931c4; /* rgb */ color: rgb(121, 49, 196); /* oklch */ color: oklch(49.4% 0.213 301.0);
Tailwind
colors: {
custom: {
50: '#a670d7',
500: '#7931c4',
950: '#000000',
},
}SCSS
$custom: #7931c4; $custom-light: #a670d7; $custom-dark: #000000;
JSON
{
"hex": "#7931c4",
"rgb": {
"r": 121,
"g": 49,
"b": 196
},
"hsl": {
"h": 269.388,
"s": 60,
"l": 48.039
},
"oklch": {
"l": 0.49414,
"c": 0.21296,
"h": 301
},
"luminance": 0.10247
}Semantic roles & 50–950 ramp
primary
#7931C4
secondary
#A9CD84
accent
#E34596
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83