#7939B8#7939B8

#7939B8 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.4% C 0.191 H 303.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7939B8
RGBrgb(121, 57, 184)
HSLhsl(270, 53%, 47%)
HSVhsv(270, 69%, 72%)
CMYKcmyk(34.2%, 69%, 0%, 27.8%)
CIE-LABlab(38.64, 51.60, -56.30)
CIE-LCHlch(38.64, 76.37, 312.50°)
OKLaboklab(49.38% 0.1042 -0.1601)
OKLCHoklch(49.38% 0.191 303.1)
XYZxyz(17.9980, 10.4519, 46.4073)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939B8 #78B839
analogous
#3939B8 #7939B8 #B839B8
triadic
#7939B8 #B87939 #39B879
tetradic
#7939B8 #B83939 #78B839 #39B8B8
square
#7939B8 #B83939 #78B839 #39B8B8
split-complementary
#7939B8 #B8B839 #39B839
monochromatic
#3C1C5B #5A2B89 #7939B8 #9860CE #B68FDC

Accessibility & contrast

On white

6.80
#7939B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7939B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939B8
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939B8#FFFFFF#000000##FFFFFF
##7939B81.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#6C5674
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7939b8;
/* rgb */ color: rgb(121, 57, 184);
/* oklch */ color: oklch(49.4% 0.191 303.1);
Tailwind
colors: {
  custom: {
    50: '#a574ce',
    500: '#7939b8',
    950: '#000000',
  },
}
SCSS
$custom: #7939b8;
$custom-light: #a574ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7939b8",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 270.236,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49381,
    "c": 0.19108,
    "h": 303.1
  },
  "luminance": 0.10452
}

Semantic roles & 50–950 ramp

primary
#7939B8
secondary
#A6C786
accent
#DC4C93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7939B8

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

Preview Lab → · Contrast checker → · Palette generator →

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