#7931A3#7931A3

#7931A3 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.179 H 310.2°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7931A3
RGBrgb(121, 49, 163)
HSLhsl(278, 54%, 42%)
HSVhsv(278, 70%, 64%)
CMYKcmyk(25.8%, 69.9%, 0%, 36.1%)
CIE-LABlab(35.80, 50.43, -48.39)
CIE-LCHlch(35.80, 69.89, 316.18°)
OKLaboklab(46.88% 0.1156 -0.1368)
OKLCHoklch(46.88% 0.179 310.2)
XYZxyz(15.5930, 8.9062, 35.5409)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7931A3 #5BA331
analogous
#4031A3 #7931A3 #A33194
triadic
#7931A3 #A37931 #31A379
tetradic
#7931A3 #A34031 #5BA331 #3194A3
square
#7931A3 #A34031 #5BA331 #3194A3
split-complementary
#7931A3 #94A331 #31A340
monochromatic
#331545 #562374 #7931A3 #9949C8 #B478D6

Accessibility & contrast

On white

7.55
#7931A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7931A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7931A3
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7931A3#FFFFFF#000000##FFFFFF
##7931A31.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#1E55A0
Tritanopia (blue-blind)
#734A66
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7931a3;
/* rgb */ color: rgb(121, 49, 163);
/* oklch */ color: oklch(46.9% 0.179 310.2);
Tailwind
colors: {
  custom: {
    50: '#a46fbf',
    500: '#7931a3',
    950: '#000000',
  },
}
SCSS
$custom: #7931a3;
$custom-light: #a46fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#7931a3",
  "rgb": {
    "r": 121,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 277.895,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46879,
    "c": 0.17913,
    "h": 310.2
  },
  "luminance": 0.08906
}

Semantic roles & 50–950 ramp

primary
#7931A3
secondary
#8EBF71
accent
#DD4B81
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7931A3

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

Preview Lab → · Contrast checker → · Palette generator →

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