#7930A2#7930A2

#7930A2 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.179 H 310.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7930A2
RGBrgb(121, 48, 162)
HSLhsl(278, 54%, 41%)
HSVhsv(278, 70%, 64%)
CMYKcmyk(25.3%, 70.4%, 0%, 36.5%)
CIE-LABlab(35.57, 50.65, -48.16)
CIE-LCHlch(35.57, 69.89, 316.45°)
OKLaboklab(46.69% 0.1168 -0.1362)
OKLCHoklch(46.69% 0.179 310.6)
XYZxyz(15.4624, 8.7878, 35.0571)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7930A2 #59A230
analogous
#4030A2 #7930A2 #A23092
triadic
#7930A2 #A27930 #30A279
tetradic
#7930A2 #A24030 #59A230 #3092A2
square
#7930A2 #A24030 #59A230 #3092A2
split-complementary
#7930A2 #92A230 #30A240
monochromatic
#321444 #562273 #7930A2 #9A47C8 #B476D6

Accessibility & contrast

On white

7.62
#7930A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7930A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7930A2#FFFFFF#000000##FFFFFF
##7930A21.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#1E559F
Tritanopia (blue-blind)
#744965
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7930a2;
/* rgb */ color: rgb(121, 48, 162);
/* oklch */ color: oklch(46.7% 0.179 310.6);
Tailwind
colors: {
  custom: {
    50: '#a46ebe',
    500: '#7930a2',
    950: '#000000',
  },
}
SCSS
$custom: #7930a2;
$custom-light: #a46ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#7930a2",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 278.421,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46692,
    "c": 0.17939,
    "h": 310.6
  },
  "luminance": 0.08787
}

Semantic roles & 50–950 ramp

primary
#7930A2
secondary
#8CBE6F
accent
#DE4A7F
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7930A2

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

Preview Lab → · Contrast checker → · Palette generator →

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