#7939A2#7939A2

#7939A2 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.8% C 0.167 H 309.5°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7939A2
RGBrgb(121, 57, 162)
HSLhsl(277, 48%, 43%)
HSVhsv(277, 65%, 64%)
CMYKcmyk(25.3%, 64.8%, 0%, 36.5%)
CIE-LABlab(37.11, 46.38, -45.68)
CIE-LCHlch(37.11, 65.09, 315.43°)
OKLaboklab(47.8% 0.1064 -0.1289)
OKLCHoklch(47.8% 0.167 309.5)
XYZxyz(15.8686, 9.6001, 35.1925)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939A2 #62A239
analogous
#4439A2 #7939A2 #A23996
triadic
#7939A2 #A27939 #39A279
tetradic
#7939A2 #A24439 #62A239 #3996A2
square
#7939A2 #A24439 #62A239 #3996A2
split-complementary
#7939A2 #96A239 #39A244
monochromatic
#351947 #572975 #7939A2 #9855C3 #B482D3

Accessibility & contrast

On white

7.19
#7939A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7939A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7939A2
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939A2#FFFFFF#000000##FFFFFF
##7939A21.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#2A58A0
Tritanopia (blue-blind)
#734E68
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7939a2;
/* rgb */ color: rgb(121, 57, 162);
/* oklch */ color: oklch(47.8% 0.167 309.5);
Tailwind
colors: {
  custom: {
    50: '#a374be',
    500: '#7939a2',
    950: '#000000',
  },
}
SCSS
$custom: #7939a2;
$custom-light: #a374be;
$custom-dark: #000000;
JSON
{
  "hex": "#7939a2",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 162
  },
  "hsl": {
    "h": 276.571,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.478,
    "c": 0.16717,
    "h": 309.5
  },
  "luminance": 0.096
}

Semantic roles & 50–950 ramp

primary
#7939A2
secondary
#94BD7A
accent
#D85085
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7939A2

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

Preview Lab → · Contrast checker → · Palette generator →

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