#7930AA#7930AA

#7930AA is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.188 H 308.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7930AA
RGBrgb(121, 48, 170)
HSLhsl(276, 56%, 43%)
HSVhsv(276, 72%, 67%)
CMYKcmyk(28.8%, 71.8%, 0%, 33.3%)
CIE-LABlab(36.14, 52.46, -52.04)
CIE-LCHlch(36.14, 73.89, 315.23°)
OKLaboklab(47.28% 0.1157 -0.1476)
OKLCHoklch(47.28% 0.188 308.1)
XYZxyz(16.1963, 9.0814, 38.9221)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7930AA #61AA30
analogous
#3C30AA #7930AA #AA309E
triadic
#7930AA #AA7930 #30AA79
tetradic
#7930AA #AA3C30 #61AA30 #309EAA
square
#7930AA #AA3C30 #61AA30 #309EAA
split-complementary
#7930AA #9EAA30 #30AA3C
monochromatic
#35154B #57237A #7930AA #984BCC #B47BDA

Accessibility & contrast

On white

7.46
#7930AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7930AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7930AA
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7930AA#FFFFFF#000000##FFFFFF
##7930AA1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0D56A7
Tritanopia (blue-blind)
#714C6A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7930aa;
/* rgb */ color: rgb(121, 48, 170);
/* oklch */ color: oklch(47.3% 0.188 308.1);
Tailwind
colors: {
  custom: {
    50: '#a46fc4',
    500: '#7930aa',
    950: '#000000',
  },
}
SCSS
$custom: #7930aa;
$custom-light: #a46fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7930aa",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 275.902,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47277,
    "c": 0.18753,
    "h": 308.1
  },
  "luminance": 0.09081
}

Semantic roles & 50–950 ramp

primary
#7930AA
secondary
#93C274
accent
#DF4985
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7930AA

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

Preview Lab → · Contrast checker → · Palette generator →

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