#7939AC#7939AC

#7939AC is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.5% C 0.178 H 306.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7939AC
RGBrgb(121, 57, 172)
HSLhsl(273, 50%, 45%)
HSVhsv(273, 67%, 67%)
CMYKcmyk(29.7%, 66.9%, 0%, 32.5%)
CIE-LABlab(37.79, 48.72, -50.57)
CIE-LCHlch(37.79, 70.22, 313.93°)
OKLaboklab(48.5% 0.1057 -0.1433)
OKLCHoklch(48.5% 0.178 306.4)
XYZxyz(16.7931, 9.9699, 40.0614)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939AC #6CAC39
analogous
#3F39AC #7939AC #AC39A6
triadic
#7939AC #AC7939 #39AC79
tetradic
#7939AC #AC3F39 #6CAC39 #39A6AC
square
#7939AC #AC3F39 #6CAC39 #39A6AC
split-complementary
#7939AC #A6AC39 #39AC3F
monochromatic
#381B50 #592A7E #7939AC #975AC8 #B488D8

Accessibility & contrast

On white

7.01
#7939AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7939AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7939AC
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939AC#FFFFFF#000000##FFFFFF
##7939AC1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#1C59A9
Tritanopia (blue-blind)
#70526E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7939ac;
/* rgb */ color: rgb(121, 57, 172);
/* oklch */ color: oklch(48.5% 0.178 306.4);
Tailwind
colors: {
  custom: {
    50: '#a474c5',
    500: '#7939ac',
    950: '#000000',
  },
}
SCSS
$custom: #7939ac;
$custom-light: #a474c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7939ac",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 273.391,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.485,
    "c": 0.17805,
    "h": 306.4
  },
  "luminance": 0.0997
}

Semantic roles & 50–950 ramp

primary
#7939AC
secondary
#9DC27F
accent
#DA4E8C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7939AC

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

Preview Lab → · Contrast checker → · Palette generator →

#7939AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva