#7937C1#7937C1

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

Color values

HEX#7937C1
RGBrgb(121, 55, 193)
HSLhsl(269, 56%, 49%)
HSVhsv(269, 72%, 76%)
CMYKcmyk(37.3%, 71.5%, 0%, 24.3%)
CIE-LABlab(38.98, 54.72, -61.04)
CIE-LCHlch(38.98, 81.98, 311.88°)
OKLaboklab(49.83% 0.1048 -0.174)
OKLCHoklch(49.83% 0.203 301.1)
XYZxyz(18.8746, 10.6475, 51.5025)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7937C1 #7FC137
analogous
#373AC1 #7937C1 #BE37C1
triadic
#7937C1 #C17937 #37C179
tetradic
#7937C1 #C1373A #7FC137 #37C1BE
square
#7937C1 #C1373A #7FC137 #37C1BE
split-complementary
#7937C1 #C1BE37 #3AC137
monochromatic
#3D1C62 #5B2991 #7937C1 #9863D2 #B892E0

Accessibility & contrast

On white

6.71
#7937C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7937C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7937C1
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7937C1#FFFFFF#000000##FFFFFF
##7937C11.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#005BBE
Tritanopia (blue-blind)
#695978
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7937c1;
/* rgb */ color: rgb(121, 55, 193);
/* oklch */ color: oklch(49.8% 0.203 301.1);
Tailwind
colors: {
  custom: {
    50: '#a673d5',
    500: '#7937c1',
    950: '#000000',
  },
}
SCSS
$custom: #7937c1;
$custom-light: #a673d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7937c1",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 268.696,
    "s": 55.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49834,
    "c": 0.20317,
    "h": 301.1
  },
  "luminance": 0.10648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7937C1

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

Preview Lab → · Contrast checker → · Palette generator →

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