#7937C2#7937C2

#7937C2 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.9% C 0.204 H 300.8°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7937C2
RGBrgb(121, 55, 194)
HSLhsl(268, 56%, 49%)
HSVhsv(268, 72%, 76%)
CMYKcmyk(37.6%, 71.6%, 0%, 23.9%)
CIE-LABlab(39.06, 54.97, -61.50)
CIE-LCHlch(39.06, 82.48, 311.79°)
OKLaboklab(49.91% 0.1046 -0.1754)
OKLCHoklch(49.91% 0.204 300.8)
XYZxyz(18.9866, 10.6922, 52.0920)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7937C2 #80C237
analogous
#373BC2 #7937C2 #BF37C2
triadic
#7937C2 #C27937 #37C279
tetradic
#7937C2 #C2373B #80C237 #37C2BF
square
#7937C2 #C2373B #80C237 #37C2BF
split-complementary
#7937C2 #C2BF37 #3BC237
monochromatic
#3E1C63 #5B2992 #7937C2 #9863D3 #B893E0

Accessibility & contrast

On white

6.69
#7937C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7937C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7937C2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7937C2#FFFFFF#000000##FFFFFF
##7937C21.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#695979
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7937c2;
/* rgb */ color: rgb(121, 55, 194);
/* oklch */ color: oklch(49.9% 0.204 300.8);
Tailwind
colors: {
  custom: {
    50: '#a674d5',
    500: '#7937c2',
    950: '#000000',
  },
}
SCSS
$custom: #7937c2;
$custom-light: #a674d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7937c2",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 268.489,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49912,
    "c": 0.20423,
    "h": 300.8
  },
  "luminance": 0.10692
}

Semantic roles & 50–950 ramp

primary
#7937C2
secondary
#ACCB89
accent
#DF4998
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7937C2

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

Preview Lab → · Contrast checker → · Palette generator →

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