#7937C5#7937C5

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

Color values

HEX#7937C5
RGBrgb(121, 55, 197)
HSLhsl(268, 56%, 49%)
HSVhsv(268, 72%, 77%)
CMYKcmyk(38.6%, 72.1%, 0%, 22.7%)
CIE-LABlab(39.29, 55.70, -62.87)
CIE-LCHlch(39.29, 84.00, 311.54°)
OKLaboklab(50.15% 0.104 -0.1794)
OKLCHoklch(50.15% 0.207 300.1)
XYZxyz(19.3269, 10.8284, 53.8843)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7937C5 #83C537
analogous
#373CC5 #7937C5 #C037C5
triadic
#7937C5 #C57937 #37C579
tetradic
#7937C5 #C5373C #83C537 #37C5C0
square
#7937C5 #C5373C #83C537 #37C5C0
split-complementary
#7937C5 #C5C037 #3CC537
monochromatic
#3E1C65 #5C2A95 #7937C5 #9965D4 #B995E1

Accessibility & contrast

On white

6.63
#7937C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7937C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7937C5
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7937C5#FFFFFF#000000##FFFFFF
##7937C51.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#685A7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7937c5;
/* rgb */ color: rgb(121, 55, 197);
/* oklch */ color: oklch(50.1% 0.207 300.1);
Tailwind
colors: {
  custom: {
    50: '#a674d8',
    500: '#7937c5',
    950: '#000000',
  },
}
SCSS
$custom: #7937c5;
$custom-light: #a674d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7937c5",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 267.887,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5015,
    "c": 0.20742,
    "h": 300.1
  },
  "luminance": 0.10829
}

Semantic roles & 50–950 ramp

primary
#7937C5
secondary
#AECD8B
accent
#E04899
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7937C5

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

Preview Lab → · Contrast checker → · Palette generator →

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