#7939B1#7939B1

#7939B1 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.9% C 0.183 H 305.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#7939B1
RGBrgb(121, 57, 177)
HSLhsl(272, 51%, 46%)
HSVhsv(272, 68%, 69%)
CMYKcmyk(31.6%, 67.8%, 0%, 30.6%)
CIE-LABlab(38.14, 49.91, -52.98)
CIE-LCHlch(38.14, 72.79, 313.29°)
OKLaboklab(48.86% 0.1051 -0.1504)
OKLCHoklch(48.86% 0.183 305)
XYZxyz(17.2823, 10.1656, 42.6381)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939B1 #71B139
analogous
#3D39B1 #7939B1 #B139AD
triadic
#7939B1 #B17939 #39B179
tetradic
#7939B1 #B13D39 #71B139 #39ADB1
square
#7939B1 #B13D39 #71B139 #39ADB1
split-complementary
#7939B1 #ADB139 #39B13D
monochromatic
#3A1B54 #592A83 #7939B1 #975DCB #B58BDA

Accessibility & contrast

On white

6.92
#7939B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7939B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939B1
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939B1#FFFFFF#000000##FFFFFF
##7939B11.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#105AAE
Tritanopia (blue-blind)
#6F5470
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7939b1;
/* rgb */ color: rgb(121, 57, 177);
/* oklch */ color: oklch(48.9% 0.183 305.0);
Tailwind
colors: {
  custom: {
    50: '#a474c9',
    500: '#7939b1',
    950: '#000000',
  },
}
SCSS
$custom: #7939b1;
$custom-light: #a474c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7939b1",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 272,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48861,
    "c": 0.18348,
    "h": 305
  },
  "luminance": 0.10166
}

Semantic roles & 50–950 ramp

primary
#7939B1
secondary
#A1C482
accent
#DB4D8F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7939B1

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

Preview Lab → · Contrast checker → · Palette generator →

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