#7937C0#7937C0

#7937C0 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.202 H 301.3°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7937C0
RGBrgb(121, 55, 192)
HSLhsl(269, 55%, 48%)
HSVhsv(269, 71%, 75%)
CMYKcmyk(37%, 71.4%, 0%, 24.7%)
CIE-LABlab(38.90, 54.48, -60.58)
CIE-LCHlch(38.90, 81.47, 311.97°)
OKLaboklab(49.76% 0.105 -0.1727)
OKLCHoklch(49.76% 0.202 301.3)
XYZxyz(18.7635, 10.6030, 50.9170)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7937C0 #7EC037
analogous
#3739C0 #7937C0 #BD37C0
triadic
#7937C0 #C07937 #37C079
tetradic
#7937C0 #C03739 #7EC037 #37C0BD
square
#7937C0 #C03739 #7EC037 #37C0BD
split-complementary
#7937C0 #C0BD37 #39C037
monochromatic
#3D1C61 #5B2990 #7937C0 #9862D2 #B792E0

Accessibility & contrast

On white

6.73
#7937C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7937C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7937C0
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7937C0#FFFFFF#000000##FFFFFF
##7937C01.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#6A5878
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7937c0;
/* rgb */ color: rgb(121, 55, 192);
/* oklch */ color: oklch(49.8% 0.202 301.3);
Tailwind
colors: {
  custom: {
    50: '#a673d4',
    500: '#7937c0',
    950: '#000000',
  },
}
SCSS
$custom: #7937c0;
$custom-light: #a673d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7937c0",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 268.905,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49755,
    "c": 0.20211,
    "h": 301.3
  },
  "luminance": 0.10603
}

Semantic roles & 50–950 ramp

primary
#7937C0
secondary
#ABCB88
accent
#DF4997
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7937C0

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

Preview Lab → · Contrast checker → · Palette generator →

#7937C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva