#7937C4#7937C4

#7937C4 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.1% C 0.206 H 300.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7937C4
RGBrgb(121, 55, 196)
HSLhsl(268, 56%, 49%)
HSVhsv(268, 72%, 77%)
CMYKcmyk(38.3%, 71.9%, 0%, 23.1%)
CIE-LABlab(39.21, 55.46, -62.41)
CIE-LCHlch(39.21, 83.49, 311.62°)
OKLaboklab(50.07% 0.1042 -0.1781)
OKLCHoklch(50.07% 0.206 300.3)
XYZxyz(19.2127, 10.7827, 53.2829)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7937C4 #82C437
analogous
#373CC4 #7937C4 #C037C4
triadic
#7937C4 #C47937 #37C479
tetradic
#7937C4 #C4373C #82C437 #37C4C0
square
#7937C4 #C4373C #82C437 #37C4C0
split-complementary
#7937C4 #C4C037 #3CC437
monochromatic
#3E1C64 #5B2A94 #7937C4 #9965D4 #B894E1

Accessibility & contrast

On white

6.65
#7937C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7937C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7937C4
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7937C4#FFFFFF#000000##FFFFFF
##7937C41.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#005BC1
Tritanopia (blue-blind)
#685A7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7937c4;
/* rgb */ color: rgb(121, 55, 196);
/* oklch */ color: oklch(50.1% 0.206 300.3);
Tailwind
colors: {
  custom: {
    50: '#a674d7',
    500: '#7937c4',
    950: '#000000',
  },
}
SCSS
$custom: #7937c4;
$custom-light: #a674d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7937c4",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 268.085,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5007,
    "c": 0.20635,
    "h": 300.3
  },
  "luminance": 0.10783
}

Semantic roles & 50–950 ramp

primary
#7937C4
secondary
#ADCC8B
accent
#DF4899
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7937C4

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

Preview Lab → · Contrast checker → · Palette generator →

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