#7939B4#7939B4

#7939B4 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.1% C 0.187 H 304.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7939B4
RGBrgb(121, 57, 180)
HSLhsl(271, 52%, 46%)
HSVhsv(271, 68%, 71%)
CMYKcmyk(32.8%, 68.3%, 0%, 29.4%)
CIE-LABlab(38.35, 50.63, -54.41)
CIE-LCHlch(38.35, 74.32, 312.94°)
OKLaboklab(49.08% 0.1048 -0.1546)
OKLCHoklch(49.08% 0.187 304.1)
XYZxyz(17.5846, 10.2865, 44.2303)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939B4 #74B439
analogous
#3C39B4 #7939B4 #B439B2
triadic
#7939B4 #B47939 #39B479
tetradic
#7939B4 #B43C39 #74B439 #39B2B4
square
#7939B4 #B43C39 #74B439 #39B2B4
split-complementary
#7939B4 #B2B439 #39B43C
monochromatic
#3B1C57 #5A2A86 #7939B4 #975ECC #B58DDB

Accessibility & contrast

On white

6.87
#7939B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7939B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939B4
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939B4#FFFFFF#000000##FFFFFF
##7939B41.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#055AB1
Tritanopia (blue-blind)
#6E5572
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7939b4;
/* rgb */ color: rgb(121, 57, 180);
/* oklch */ color: oklch(49.1% 0.187 304.1);
Tailwind
colors: {
  custom: {
    50: '#a474cb',
    500: '#7939b4',
    950: '#000000',
  },
}
SCSS
$custom: #7939b4;
$custom-light: #a474cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7939b4",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 271.22,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49082,
    "c": 0.18674,
    "h": 304.1
  },
  "luminance": 0.10286
}

Semantic roles & 50–950 ramp

primary
#7939B4
secondary
#A3C583
accent
#DB4C91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7939B4

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

Preview Lab → · Contrast checker → · Palette generator →

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