#7939B6#7939B6

#7939B6 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.2% C 0.189 H 303.6°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7939B6
RGBrgb(121, 57, 182)
HSLhsl(271, 52%, 47%)
HSVhsv(271, 69%, 71%)
CMYKcmyk(33.5%, 68.7%, 0%, 28.6%)
CIE-LABlab(38.50, 51.11, -55.36)
CIE-LCHlch(38.50, 75.35, 312.72°)
OKLaboklab(49.23% 0.1045 -0.1574)
OKLCHoklch(49.23% 0.189 303.6)
XYZxyz(17.7898, 10.3686, 45.3110)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939B6 #76B639
analogous
#3B39B6 #7939B6 #B639B5
triadic
#7939B6 #B67939 #39B679
tetradic
#7939B6 #B63B39 #76B639 #39B5B6
square
#7939B6 #B63B39 #76B639 #39B5B6
split-complementary
#7939B6 #B5B639 #39B63B
monochromatic
#3B1C59 #5A2A87 #7939B6 #975FCD #B68EDC

Accessibility & contrast

On white

6.83
#7939B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7939B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939B6
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939B6#FFFFFF#000000##FFFFFF
##7939B61.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#005AB3
Tritanopia (blue-blind)
#6D5673
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7939b6;
/* rgb */ color: rgb(121, 57, 182);
/* oklch */ color: oklch(49.2% 0.189 303.6);
Tailwind
colors: {
  custom: {
    50: '#a574cd',
    500: '#7939b6',
    950: '#000000',
  },
}
SCSS
$custom: #7939b6;
$custom-light: #a574cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7939b6",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 182
  },
  "hsl": {
    "h": 270.72,
    "s": 52.301,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49231,
    "c": 0.18891,
    "h": 303.6
  },
  "luminance": 0.10369
}

Semantic roles & 50–950 ramp

primary
#7939B6
secondary
#A5C685
accent
#DC4C92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7939B6

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

Preview Lab → · Contrast checker → · Palette generator →

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