#7939C5#7939C5

#7939C5 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.4% C 0.205 H 299.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7939C5
RGBrgb(121, 57, 197)
HSLhsl(267, 55%, 50%)
HSVhsv(267, 71%, 77%)
CMYKcmyk(38.6%, 71.1%, 0%, 22.7%)
CIE-LABlab(39.62, 54.78, -62.34)
CIE-LCHlch(39.62, 82.98, 311.31°)
OKLaboklab(50.38% 0.1021 -0.1779)
OKLCHoklch(50.38% 0.205 299.9)
XYZxyz(19.4238, 11.0222, 53.9167)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939C5 #85C539
analogous
#393FC5 #7939C5 #BF39C5
triadic
#7939C5 #C57939 #39C579
tetradic
#7939C5 #C5393F #85C539 #39C5BF
square
#7939C5 #C5393F #85C539 #39C5BF
split-complementary
#7939C5 #C5BF39 #3FC539
monochromatic
#3F1E66 #5C2B96 #7939C5 #9968D3 #B997E1

Accessibility & contrast

On white

6.55
#7939C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7939C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939C5
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939C5#FFFFFF#000000##FFFFFF
##7939C51.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#005CC2
Tritanopia (blue-blind)
#685B7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7939c5;
/* rgb */ color: rgb(121, 57, 197);
/* oklch */ color: oklch(50.4% 0.205 299.9);
Tailwind
colors: {
  custom: {
    50: '#a675d8',
    500: '#7939c5',
    950: '#000000',
  },
}
SCSS
$custom: #7939c5;
$custom-light: #a675d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7939c5",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 267.429,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50382,
    "c": 0.20511,
    "h": 299.9
  },
  "luminance": 0.11022
}

Semantic roles & 50–950 ramp

primary
#7939C5
secondary
#B0CD8D
accent
#DE499A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7939C5

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

Preview Lab → · Contrast checker → · Palette generator →

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