#7931C0#7931C0
#7931C0 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.209 H 302.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7931C0 |
|---|---|
| RGB | rgb(121, 49, 192) |
| HSL | hsl(270, 59%, 47%) |
| HSV | hsv(270, 74%, 75%) |
| CMYK | cmyk(37%, 74.5%, 0%, 24.7%) |
| CIE-LAB | lab(37.96, 57.14, -62.11) |
| CIE-LCH | lch(37.96, 84.40, 312.62°) |
| OKLab | oklab(49.09% 0.1106 -0.1772) |
| OKLCH | oklch(49.09% 0.209 302) |
| XYZ | xyz(18.4956, 10.0673, 50.8277) |
| Luminance | 0.1007 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 5.06
Darkviolet
#9400D3
ΔE00 5.09
Bluey Purple
#6241C7
ΔE00 5.24
Burple
#6832E3
ΔE00 5.48
Purple Blue
#5D21D0
ΔE00 5.66
Darkorchid
#9932CC
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7931C0 #78C031
analogous
#3231C0 #7931C0 #C031BF
triadic
#7931C0 #C07931 #31C079
tetradic
#7931C0 #C03231 #78C031 #31BFC0
square
#7931C0 #C03231 #78C031 #31BFC0
split-complementary
#7931C0 #BFC031 #31C032
monochromatic
#3C185E #5A258F #7931C0 #9859D5 #B68AE1
Accessibility & contrast
On white
6.97
#7931C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#7931C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7931C0
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7931C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7931C0 | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#6A5576
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #7931c0; /* rgb */ color: rgb(121, 49, 192); /* oklch */ color: oklch(49.1% 0.209 302.0);
Tailwind
colors: {
custom: {
50: '#a670d4',
500: '#7931c0',
950: '#000000',
},
}SCSS
$custom: #7931c0; $custom-light: #a670d4; $custom-dark: #000000;
JSON
{
"hex": "#7931c0",
"rgb": {
"r": 121,
"g": 49,
"b": 192
},
"hsl": {
"h": 270.21,
"s": 59.336,
"l": 47.255
},
"oklch": {
"l": 0.4909,
"c": 0.20887,
"h": 302
},
"luminance": 0.10067
}Semantic roles & 50–950 ramp
primary
#7931C0
secondary
#A6CB82
accent
#E34593
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83