#7939C4#7939C4

#7939C4 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.3% C 0.204 H 300.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7939C4
RGBrgb(121, 57, 196)
HSLhsl(268, 55%, 50%)
HSVhsv(268, 71%, 77%)
CMYKcmyk(38.3%, 70.9%, 0%, 23.1%)
CIE-LABlab(39.54, 54.53, -61.88)
CIE-LCHlch(39.54, 82.48, 311.39°)
OKLaboklab(50.3% 0.1023 -0.1765)
OKLCHoklch(50.3% 0.204 300.1)
XYZxyz(19.3096, 10.9765, 53.3152)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939C4 #84C439
analogous
#393EC4 #7939C4 #BF39C4
triadic
#7939C4 #C47939 #39C479
tetradic
#7939C4 #C4393E #84C439 #39C4BF
square
#7939C4 #C4393E #84C439 #39C4BF
split-complementary
#7939C4 #C4BF39 #3EC439
monochromatic
#3E1D65 #5C2B95 #7939C4 #9967D3 #B997E1

Accessibility & contrast

On white

6.57
#7939C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7939C4
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939C4#FFFFFF#000000##FFFFFF
##7939C41.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7939c4;
/* rgb */ color: rgb(121, 57, 196);
/* oklch */ color: oklch(50.3% 0.204 300.1);
Tailwind
colors: {
  custom: {
    50: '#a675d7',
    500: '#7939c4',
    950: '#000000',
  },
}
SCSS
$custom: #7939c4;
$custom-light: #a675d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7939c4",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 267.626,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50304,
    "c": 0.20403,
    "h": 300.1
  },
  "luminance": 0.10977
}

Semantic roles & 50–950 ramp

primary
#7939C4
secondary
#AFCC8D
accent
#DE4A9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7939C4

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

Preview Lab → · Contrast checker → · Palette generator →

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