#7939C2#7939C2

#7939C2 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.1% C 0.202 H 300.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7939C2
RGBrgb(121, 57, 194)
HSLhsl(268, 55%, 49%)
HSVhsv(268, 71%, 76%)
CMYKcmyk(37.6%, 70.6%, 0%, 23.9%)
CIE-LABlab(39.39, 54.04, -60.96)
CIE-LCHlch(39.39, 81.46, 311.56°)
OKLaboklab(50.15% 0.1027 -0.1738)
OKLCHoklch(50.15% 0.202 300.6)
XYZxyz(19.0835, 10.8861, 52.1243)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939C2 #82C239
analogous
#393EC2 #7939C2 #BE39C2
triadic
#7939C2 #C27939 #39C279
tetradic
#7939C2 #C2393E #82C239 #39C2BE
square
#7939C2 #C2393E #82C239 #39C2BE
split-complementary
#7939C2 #C2BE39 #3EC239
monochromatic
#3E1D63 #5B2B93 #7939C2 #9966D2 #B895E0

Accessibility & contrast

On white

6.61
#7939C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7939C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939C2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939C2#FFFFFF#000000##FFFFFF
##7939C21.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#695A7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7939c2;
/* rgb */ color: rgb(121, 57, 194);
/* oklch */ color: oklch(50.1% 0.202 300.6);
Tailwind
colors: {
  custom: {
    50: '#a675d5',
    500: '#7939c2',
    950: '#000000',
  },
}
SCSS
$custom: #7939c2;
$custom-light: #a675d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7939c2",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 268.029,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50147,
    "c": 0.20188,
    "h": 300.6
  },
  "luminance": 0.10886
}

Semantic roles & 50–950 ramp

primary
#7939C2
secondary
#ADCB8B
accent
#DE4A99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7939C2

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

Preview Lab → · Contrast checker → · Palette generator →

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