#7930A4#7930A4

#7930A4 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.8% C 0.181 H 310.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#7930A4
RGBrgb(121, 48, 164)
HSLhsl(278, 55%, 42%)
HSVhsv(278, 71%, 64%)
CMYKcmyk(26.2%, 70.7%, 0%, 35.7%)
CIE-LABlab(35.71, 51.10, -49.14)
CIE-LCHlch(35.71, 70.89, 316.12°)
OKLaboklab(46.84% 0.1166 -0.139)
OKLCHoklch(46.84% 0.181 310)
XYZxyz(15.6416, 8.8595, 36.0008)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7930A4 #5BA430
analogous
#3F30A4 #7930A4 #A43095
triadic
#7930A4 #A47930 #30A479
tetradic
#7930A4 #A43F30 #5BA430 #3095A4
square
#7930A4 #A43F30 #5BA430 #3095A4
split-complementary
#7930A4 #95A430 #30A43F
monochromatic
#331445 #562275 #7930A4 #9948C9 #B477D7

Accessibility & contrast

On white

7.58
#7930A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7930A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7930A4#FFFFFF#000000##FFFFFF
##7930A41.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#1B55A1
Tritanopia (blue-blind)
#734966
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7930a4;
/* rgb */ color: rgb(121, 48, 164);
/* oklch */ color: oklch(46.8% 0.181 310.0);
Tailwind
colors: {
  custom: {
    50: '#a46fc0',
    500: '#7930a4',
    950: '#000000',
  },
}
SCSS
$custom: #7930a4;
$custom-light: #a46fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#7930a4",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 277.759,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46836,
    "c": 0.18143,
    "h": 310
  },
  "luminance": 0.08859
}

Semantic roles & 50–950 ramp

primary
#7930A4
secondary
#8EBF70
accent
#DE4A81
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7930A4

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

Preview Lab → · Contrast checker → · Palette generator →

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