#7931AE#7931AE

#7931AE is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.7% C 0.190 H 306.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7931AE
RGBrgb(121, 49, 174)
HSLhsl(275, 56%, 44%)
HSVhsv(275, 72%, 68%)
CMYKcmyk(30.5%, 71.8%, 0%, 31.8%)
CIE-LABlab(36.59, 52.93, -53.70)
CIE-LCHlch(36.59, 75.40, 314.58°)
OKLaboklab(47.69% 0.1141 -0.1525)
OKLCHoklch(47.69% 0.19 306.8)
XYZxyz(16.6218, 9.3178, 40.9590)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7931AE #66AE31
analogous
#3A31AE #7931AE #AE31A4
triadic
#7931AE #AE7931 #31AE79
tetradic
#7931AE #AE3A31 #66AE31 #31A4AE
square
#7931AE #AE3A31 #66AE31 #31A4AE
split-complementary
#7931AE #A4AE31 #31AE3A
monochromatic
#37164E #58247E #7931AE #984FCD #B47FDB

Accessibility & contrast

On white

7.33
#7931AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7931AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7931AE
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7931AE#FFFFFF#000000##FFFFFF
##7931AE1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#0157AB
Tritanopia (blue-blind)
#704E6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7931ae;
/* rgb */ color: rgb(121, 49, 174);
/* oklch */ color: oklch(47.7% 0.190 306.8);
Tailwind
colors: {
  custom: {
    50: '#a46fc7',
    500: '#7931ae',
    950: '#000000',
  },
}
SCSS
$custom: #7931ae;
$custom-light: #a46fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7931ae",
  "rgb": {
    "r": 121,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 274.56,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47688,
    "c": 0.19042,
    "h": 306.8
  },
  "luminance": 0.09318
}

Semantic roles & 50–950 ramp

primary
#7931AE
secondary
#98C477
accent
#DF4888
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7931AE

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

Preview Lab → · Contrast checker → · Palette generator →

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