#7939AD#7939AD

#7939AD is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.6% C 0.179 H 306.1°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#7939AD
RGBrgb(121, 57, 173)
HSLhsl(273, 50%, 45%)
HSVhsv(273, 67%, 68%)
CMYKcmyk(30.1%, 67.1%, 0%, 32.2%)
CIE-LABlab(37.86, 48.96, -51.06)
CIE-LCHlch(37.86, 70.74, 313.80°)
OKLaboklab(48.57% 0.1056 -0.1447)
OKLCHoklch(48.57% 0.179 306.1)
XYZxyz(16.8895, 10.0085, 40.5691)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939AD #6DAD39
analogous
#3F39AD #7939AD #AD39A7
triadic
#7939AD #AD7939 #39AD79
tetradic
#7939AD #AD3F39 #6DAD39 #39A7AD
square
#7939AD #AD3F39 #6DAD39 #39A7AD
split-complementary
#7939AD #A7AD39 #39AD3F
monochromatic
#391B51 #592A7F #7939AD #975AC9 #B488D8

Accessibility & contrast

On white

7.00
#7939AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7939AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939AD
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939AD#FFFFFF#000000##FFFFFF
##7939AD1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7939ad;
/* rgb */ color: rgb(121, 57, 173);
/* oklch */ color: oklch(48.6% 0.179 306.1);
Tailwind
colors: {
  custom: {
    50: '#a474c6',
    500: '#7939ad',
    950: '#000000',
  },
}
SCSS
$custom: #7939ad;
$custom-light: #a474c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7939ad",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 173
  },
  "hsl": {
    "h": 273.103,
    "s": 50.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48571,
    "c": 0.17914,
    "h": 306.1
  },
  "luminance": 0.10008
}

Semantic roles & 50–950 ramp

primary
#7939AD
secondary
#9DC280
accent
#DA4E8D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7939AD

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

Preview Lab → · Contrast checker → · Palette generator →

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