#7939C3#7939C3

#7939C3 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.2% C 0.203 H 300.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7939C3
RGBrgb(121, 57, 195)
HSLhsl(268, 55%, 49%)
HSVhsv(268, 71%, 76%)
CMYKcmyk(37.9%, 70.8%, 0%, 23.5%)
CIE-LABlab(39.46, 54.29, -61.42)
CIE-LCHlch(39.46, 81.97, 311.47°)
OKLaboklab(50.22% 0.1025 -0.1752)
OKLCHoklch(50.22% 0.203 300.3)
XYZxyz(19.1962, 10.9312, 52.7178)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939C3 #83C339
analogous
#393EC3 #7939C3 #BE39C3
triadic
#7939C3 #C37939 #39C379
tetradic
#7939C3 #C3393E #83C339 #39C3BE
square
#7939C3 #C3393E #83C339 #39C3BE
split-complementary
#7939C3 #C3BE39 #3EC339
monochromatic
#3E1D64 #5C2B94 #7939C3 #9967D2 #B996E0

Accessibility & contrast

On white

6.59
#7939C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7939C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939C3
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939C3#FFFFFF#000000##FFFFFF
##7939C31.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#685B7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7939c3;
/* rgb */ color: rgb(121, 57, 195);
/* oklch */ color: oklch(50.2% 0.203 300.3);
Tailwind
colors: {
  custom: {
    50: '#a675d6',
    500: '#7939c3',
    950: '#000000',
  },
}
SCSS
$custom: #7939c3;
$custom-light: #a675d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7939c3",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 267.826,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50225,
    "c": 0.20295,
    "h": 300.3
  },
  "luminance": 0.10931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7939C3

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

Preview Lab → · Contrast checker → · Palette generator →

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