#7930B6#7930B6
#7930B6 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.2% C 0.200 H 304.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #7930B6 |
|---|---|
| RGB | rgb(121, 48, 182) |
| HSL | hsl(273, 58%, 45%) |
| HSV | hsv(273, 74%, 71%) |
| CMYK | cmyk(33.5%, 73.6%, 0%, 28.6%) |
| CIE-LAB | lab(37.03, 55.22, -57.73) |
| CIE-LCH | lch(37.03, 79.89, 313.73°) |
| OKLab | oklab(48.19% 0.1137 -0.1643) |
| OKLCH | oklch(48.19% 0.2 304.7) |
| XYZ | xyz(17.3837, 9.5563, 45.1756) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.13
Purple (survey)
#7E1E9C
ΔE00 5.32
Darkviolet
#9400D3
ΔE00 5.61
Bluey Purple
#6241C7
ΔE00 6.16
Darkorchid
#9932CC
ΔE00 6.35
Blueviolet
#8A2BE2
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7930B6 #6DB630
analogous
#3630B6 #7930B6 #B630B0
triadic
#7930B6 #B67930 #30B679
tetradic
#7930B6 #B63630 #6DB630 #30B0B6
square
#7930B6 #B63630 #6DB630 #30B0B6
split-complementary
#7930B6 #B0B630 #30B636
monochromatic
#391655 #592386 #7930B6 #9752D1 #B482DE
Accessibility & contrast
On white
7.21
#7930B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#7930B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7930B6
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7930B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7930B6 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0057B3
Tritanopia (blue-blind)
#6D5170
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #7930b6; /* rgb */ color: rgb(121, 48, 182); /* oklch */ color: oklch(48.2% 0.200 304.7);
Tailwind
colors: {
custom: {
50: '#a56fcd',
500: '#7930b6',
950: '#000000',
},
}SCSS
$custom: #7930b6; $custom-light: #a56fcd; $custom-dark: #000000;
JSON
{
"hex": "#7930b6",
"rgb": {
"r": 121,
"g": 48,
"b": 182
},
"hsl": {
"h": 272.687,
"s": 58.261,
"l": 45.098
},
"oklch": {
"l": 0.48191,
"c": 0.19977,
"h": 304.7
},
"luminance": 0.09556
}Semantic roles & 50–950 ramp
primary
#7930B6
secondary
#9DC77B
accent
#E1468D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82