#7939B5#7939B5

#7939B5 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.2% C 0.188 H 303.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7939B5
RGBrgb(121, 57, 181)
HSLhsl(271, 52%, 47%)
HSVhsv(271, 69%, 71%)
CMYKcmyk(33.1%, 68.5%, 0%, 29%)
CIE-LABlab(38.42, 50.87, -54.89)
CIE-LCHlch(38.42, 74.84, 312.83°)
OKLaboklab(49.16% 0.1046 -0.156)
OKLCHoklch(49.16% 0.188 303.9)
XYZxyz(17.6869, 10.3274, 44.7687)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939B5 #75B539
analogous
#3B39B5 #7939B5 #B539B3
triadic
#7939B5 #B57939 #39B579
tetradic
#7939B5 #B53B39 #75B539 #39B3B5
square
#7939B5 #B53B39 #75B539 #39B3B5
split-complementary
#7939B5 #B3B539 #39B53B
monochromatic
#3B1C58 #5A2A86 #7939B5 #975FCD #B58DDB

Accessibility & contrast

On white

6.85
#7939B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7939B5
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939B5#FFFFFF#000000##FFFFFF
##7939B51.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#005AB2
Tritanopia (blue-blind)
#6D5572
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7939b5;
/* rgb */ color: rgb(121, 57, 181);
/* oklch */ color: oklch(49.2% 0.188 303.9);
Tailwind
colors: {
  custom: {
    50: '#a474cc',
    500: '#7939b5',
    950: '#000000',
  },
}
SCSS
$custom: #7939b5;
$custom-light: #a474cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7939b5",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 270.968,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49156,
    "c": 0.18783,
    "h": 303.9
  },
  "luminance": 0.10327
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7939B5

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

Preview Lab → · Contrast checker → · Palette generator →

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