#7939C1#7939C1

#7939C1 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.1% C 0.201 H 300.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7939C1
RGBrgb(121, 57, 193)
HSLhsl(268, 54%, 49%)
HSVhsv(268, 70%, 76%)
CMYKcmyk(37.3%, 70.5%, 0%, 24.3%)
CIE-LABlab(39.31, 53.79, -60.50)
CIE-LCHlch(39.31, 80.96, 311.64°)
OKLaboklab(50.07% 0.1028 -0.1725)
OKLCHoklch(50.07% 0.201 300.8)
XYZxyz(18.9716, 10.8413, 51.5348)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939C1 #81C139
analogous
#393DC1 #7939C1 #BD39C1
triadic
#7939C1 #C17939 #39C179
tetradic
#7939C1 #C1393D #81C139 #39C1BD
square
#7939C1 #C1393D #81C139 #39C1BD
split-complementary
#7939C1 #C1BD39 #3DC139
monochromatic
#3E1D63 #5B2B92 #7939C1 #9866D2 #B895E0

Accessibility & contrast

On white

6.63
#7939C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7939C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939C1
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939C1#FFFFFF#000000##FFFFFF
##7939C11.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC5
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#695A79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7939c1;
/* rgb */ color: rgb(121, 57, 193);
/* oklch */ color: oklch(50.1% 0.201 300.8);
Tailwind
colors: {
  custom: {
    50: '#a575d5',
    500: '#7939c1',
    950: '#000000',
  },
}
SCSS
$custom: #7939c1;
$custom-light: #a575d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7939c1",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 193
  },
  "hsl": {
    "h": 268.235,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50069,
    "c": 0.20081,
    "h": 300.8
  },
  "luminance": 0.10841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7939C1

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

Preview Lab → · Contrast checker → · Palette generator →

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