#7931AF#7931AF

#7931AF is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.8% C 0.191 H 306.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7931AF
RGBrgb(121, 49, 175)
HSLhsl(274, 56%, 44%)
HSVhsv(274, 72%, 69%)
CMYKcmyk(30.9%, 72%, 0%, 31.4%)
CIE-LABlab(36.66, 53.16, -54.18)
CIE-LCHlch(36.66, 75.91, 314.46°)
OKLaboklab(47.76% 0.1139 -0.1539)
OKLCHoklch(47.76% 0.191 306.5)
XYZxyz(16.7197, 9.3569, 41.4744)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7931AF #67AF31
analogous
#3A31AF #7931AF #AF31A6
triadic
#7931AF #AF7931 #31AF79
tetradic
#7931AF #AF3A31 #67AF31 #31A6AF
square
#7931AF #AF3A31 #67AF31 #31A6AF
split-complementary
#7931AF #A6AF31 #31AF3A
monochromatic
#37164F #58247F #7931AF #984FCE #B47FDB

Accessibility & contrast

On white

7.31
#7931AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7931AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7931AF
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7931AF#FFFFFF#000000##FFFFFF
##7931AF1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0057AC
Tritanopia (blue-blind)
#704E6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7931af;
/* rgb */ color: rgb(121, 49, 175);
/* oklch */ color: oklch(47.8% 0.191 306.5);
Tailwind
colors: {
  custom: {
    50: '#a470c8',
    500: '#7931af',
    950: '#000000',
  },
}
SCSS
$custom: #7931af;
$custom-light: #a470c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7931af",
  "rgb": {
    "r": 121,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 274.286,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47763,
    "c": 0.19144,
    "h": 306.5
  },
  "luminance": 0.09357
}

Semantic roles & 50–950 ramp

primary
#7931AF
secondary
#98C478
accent
#E04889
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7931AF

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

Preview Lab → · Contrast checker → · Palette generator →

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