#7931A8#7931A8

#7931A8 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.2% C 0.184 H 308.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7931A8
RGBrgb(121, 49, 168)
HSLhsl(276, 55%, 43%)
HSVhsv(276, 71%, 66%)
CMYKcmyk(28%, 70.8%, 0%, 34.1%)
CIE-LABlab(36.16, 51.56, -50.82)
CIE-LCHlch(36.16, 72.40, 315.41°)
OKLaboklab(47.24% 0.115 -0.144)
OKLCHoklch(47.24% 0.184 308.6)
XYZxyz(16.0499, 9.0890, 37.9470)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7931A8 #60A831
analogous
#3E31A8 #7931A8 #A8319B
triadic
#7931A8 #A87931 #31A879
tetradic
#7931A8 #A83E31 #60A831 #319BA8
square
#7931A8 #A83E31 #60A831 #319BA8
split-complementary
#7931A8 #9BA831 #31A83E
monochromatic
#351549 #572379 #7931A8 #984CCB #B47BD8

Accessibility & contrast

On white

7.45
#7931A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7931A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7931A8
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7931A8#FFFFFF#000000##FFFFFF
##7931A81.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AB
Deuteranopia (green-blind)
#1556A5
Tritanopia (blue-blind)
#724C69
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7931a8;
/* rgb */ color: rgb(121, 49, 168);
/* oklch */ color: oklch(47.2% 0.184 308.6);
Tailwind
colors: {
  custom: {
    50: '#a46fc3',
    500: '#7931a8',
    950: '#000000',
  },
}
SCSS
$custom: #7931a8;
$custom-light: #a46fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#7931a8",
  "rgb": {
    "r": 121,
    "g": 49,
    "b": 168
  },
  "hsl": {
    "h": 276.303,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47242,
    "c": 0.18425,
    "h": 308.6
  },
  "luminance": 0.09089
}

Semantic roles & 50–950 ramp

primary
#7931A8
secondary
#92C174
accent
#DE4A84
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7931A8

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

Preview Lab → · Contrast checker → · Palette generator →

#7931A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva