#7939C7#7939C7

#7939C7 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.5% C 0.207 H 299.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7939C7
RGBrgb(121, 57, 199)
HSLhsl(267, 56%, 50%)
HSVhsv(267, 71%, 78%)
CMYKcmyk(39.2%, 71.4%, 0%, 22%)
CIE-LABlab(39.77, 55.27, -63.25)
CIE-LCHlch(39.77, 84.00, 311.15°)
OKLaboklab(50.54% 0.1017 -0.1806)
OKLCHoklch(50.54% 0.207 299.4)
XYZxyz(19.6545, 11.1145, 55.1316)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939C7 #87C739
analogous
#3940C7 #7939C7 #C039C7
triadic
#7939C7 #C77939 #39C779
tetradic
#7939C7 #C73940 #87C739 #39C7C0
square
#7939C7 #C73940 #87C739 #39C7C0
split-complementary
#7939C7 #C7C039 #40C739
monochromatic
#3F1D68 #5C2B98 #7939C7 #9969D4 #BA98E2

Accessibility & contrast

On white

6.52
#7939C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7939C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939C7
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939C7#FFFFFF#000000##FFFFFF
##7939C71.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#005CC4
Tritanopia (blue-blind)
#675C7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7939c7;
/* rgb */ color: rgb(121, 57, 199);
/* oklch */ color: oklch(50.5% 0.207 299.4);
Tailwind
colors: {
  custom: {
    50: '#a675d9',
    500: '#7939c7',
    950: '#000000',
  },
}
SCSS
$custom: #7939c7;
$custom-light: #a675d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7939c7",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 199
  },
  "hsl": {
    "h": 267.042,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50541,
    "c": 0.20726,
    "h": 299.4
  },
  "luminance": 0.11115
}

Semantic roles & 50–950 ramp

primary
#7939C7
secondary
#B1CE8E
accent
#DF499B
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7939C7

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

Preview Lab → · Contrast checker → · Palette generator →

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