#7939B3#7939B3

#7939B3 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.0% C 0.186 H 304.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7939B3
RGBrgb(121, 57, 179)
HSLhsl(271, 52%, 46%)
HSVhsv(271, 68%, 70%)
CMYKcmyk(32.4%, 68.2%, 0%, 29.8%)
CIE-LABlab(38.28, 50.39, -53.94)
CIE-LCHlch(38.28, 73.81, 313.05°)
OKLaboklab(49.01% 0.1049 -0.1532)
OKLCHoklch(49.01% 0.186 304.4)
XYZxyz(17.4831, 10.2459, 43.6957)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939B3 #73B339
analogous
#3C39B3 #7939B3 #B339B0
triadic
#7939B3 #B37939 #39B379
tetradic
#7939B3 #B33C39 #73B339 #39B0B3
square
#7939B3 #B33C39 #73B339 #39B0B3
split-complementary
#7939B3 #B0B339 #39B33C
monochromatic
#3A1B56 #5A2A85 #7939B3 #975ECC #B58CDA

Accessibility & contrast

On white

6.89
#7939B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7939B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939B3
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939B3#FFFFFF#000000##FFFFFF
##7939B31.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#095AB0
Tritanopia (blue-blind)
#6E5471
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7939b3;
/* rgb */ color: rgb(121, 57, 179);
/* oklch */ color: oklch(49.0% 0.186 304.4);
Tailwind
colors: {
  custom: {
    50: '#a474ca',
    500: '#7939b3',
    950: '#000000',
  },
}
SCSS
$custom: #7939b3;
$custom-light: #a474ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7939b3",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 271.475,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49008,
    "c": 0.18566,
    "h": 304.4
  },
  "luminance": 0.10246
}

Semantic roles & 50–950 ramp

primary
#7939B3
secondary
#A2C583
accent
#DB4D90
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7939B3

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

Preview Lab → · Contrast checker → · Palette generator →

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