#7937C3#7937C3

#7937C3 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.205 H 300.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7937C3
RGBrgb(121, 55, 195)
HSLhsl(268, 56%, 49%)
HSVhsv(268, 72%, 76%)
CMYKcmyk(37.9%, 71.8%, 0%, 23.5%)
CIE-LABlab(39.13, 55.21, -61.96)
CIE-LCHlch(39.13, 82.99, 311.71°)
OKLaboklab(49.99% 0.1044 -0.1767)
OKLCHoklch(49.99% 0.205 300.6)
XYZxyz(19.0992, 10.7373, 52.6855)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7937C3 #81C337
analogous
#373BC3 #7937C3 #BF37C3
triadic
#7937C3 #C37937 #37C379
tetradic
#7937C3 #C3373B #81C337 #37C3BF
square
#7937C3 #C3373B #81C337 #37C3BF
split-complementary
#7937C3 #C3BF37 #3BC337
monochromatic
#3E1C64 #5B2A93 #7937C3 #9864D3 #B894E1

Accessibility & contrast

On white

6.67
#7937C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7937C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7937C3
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7937C3#FFFFFF#000000##FFFFFF
##7937C31.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7937c3;
/* rgb */ color: rgb(121, 55, 195);
/* oklch */ color: oklch(50.0% 0.205 300.6);
Tailwind
colors: {
  custom: {
    50: '#a674d6',
    500: '#7937c3',
    950: '#000000',
  },
}
SCSS
$custom: #7937c3;
$custom-light: #a674d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7937c3",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 268.286,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49991,
    "c": 0.2053,
    "h": 300.6
  },
  "luminance": 0.10737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7937C3

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

Preview Lab → · Contrast checker → · Palette generator →

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