#7939BB#7939BB

#7939BB is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.6% C 0.194 H 302.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7939BB
RGBrgb(121, 57, 187)
HSLhsl(270, 53%, 48%)
HSVhsv(270, 70%, 73%)
CMYKcmyk(35.3%, 69.5%, 0%, 26.7%)
CIE-LABlab(38.86, 52.33, -57.71)
CIE-LCHlch(38.86, 77.90, 312.20°)
OKLaboklab(49.61% 0.1038 -0.1643)
OKLCHoklch(49.61% 0.194 302.3)
XYZxyz(18.3158, 10.5790, 48.0811)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939BB #7BBB39
analogous
#393ABB #7939BB #BA39BB
triadic
#7939BB #BB7939 #39BB79
tetradic
#7939BB #BB393A #7BBB39 #39BBBA
square
#7939BB #BB393A #7BBB39 #39BBBA
split-complementary
#7939BB #BBBA39 #3ABB39
monochromatic
#3C1C5D #5B2B8C #7939BB #9862CF #B791DD

Accessibility & contrast

On white

6.74
#7939BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7939BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939BB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939BB#FFFFFF#000000##FFFFFF
##7939BB1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#6B5776
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7939bb;
/* rgb */ color: rgb(121, 57, 187);
/* oklch */ color: oklch(49.6% 0.194 302.3);
Tailwind
colors: {
  custom: {
    50: '#a574d0',
    500: '#7939bb',
    950: '#000000',
  },
}
SCSS
$custom: #7939bb;
$custom-light: #a574d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7939bb",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 269.538,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49608,
    "c": 0.19433,
    "h": 302.3
  },
  "luminance": 0.10579
}

Semantic roles & 50–950 ramp

primary
#7939BB
secondary
#A8C887
accent
#DD4B95
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7939BB

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

Preview Lab → · Contrast checker → · Palette generator →

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