#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
RGBrgb(121, 48, 182)
HSLhsl(273, 58%, 45%)
HSVhsv(273, 74%, 71%)
CMYKcmyk(33.5%, 73.6%, 0%, 28.6%)
CIE-LABlab(37.03, 55.22, -57.73)
CIE-LCHlch(37.03, 79.89, 313.73°)
OKLaboklab(48.19% 0.1137 -0.1643)
OKLCHoklch(48.19% 0.2 304.7)
XYZxyz(17.3837, 9.5563, 45.1756)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##7930B61.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.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

Preview Lab

Preview with #7930B6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7930B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva