#7939B9#7939B9

#7939B9 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.5% C 0.192 H 302.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7939B9
RGBrgb(121, 57, 185)
HSLhsl(270, 53%, 47%)
HSVhsv(270, 69%, 73%)
CMYKcmyk(34.6%, 69.2%, 0%, 27.5%)
CIE-LABlab(38.71, 51.84, -56.77)
CIE-LCHlch(38.71, 76.88, 312.40°)
OKLaboklab(49.46% 0.1041 -0.1615)
OKLCHoklch(49.46% 0.192 302.8)
XYZxyz(18.1032, 10.4940, 46.9613)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939B9 #79B939
analogous
#3939B9 #7939B9 #B939B9
triadic
#7939B9 #B97939 #39B979
tetradic
#7939B9 #B93939 #79B939 #39B9B9
square
#7939B9 #B93939 #79B939 #39B9B9
split-complementary
#7939B9 #B9B939 #39B939
monochromatic
#3C1C5B #5A2B8A #7939B9 #9861CE #B690DD

Accessibility & contrast

On white

6.78
#7939B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7939B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939B9
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939B9#FFFFFF#000000##FFFFFF
##7939B91.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#005BB6
Tritanopia (blue-blind)
#6C5775
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7939b9;
/* rgb */ color: rgb(121, 57, 185);
/* oklch */ color: oklch(49.5% 0.192 302.8);
Tailwind
colors: {
  custom: {
    50: '#a574cf',
    500: '#7939b9',
    950: '#000000',
  },
}
SCSS
$custom: #7939b9;
$custom-light: #a574cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7939b9",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 270,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49456,
    "c": 0.19216,
    "h": 302.8
  },
  "luminance": 0.10494
}

Semantic roles & 50–950 ramp

primary
#7939B9
secondary
#A7C886
accent
#DC4B94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7939B9

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

Preview Lab → · Contrast checker → · Palette generator →

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