#7937B7#7937B7

#7937B7 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.1% C 0.193 H 303.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7937B7
RGBrgb(121, 55, 183)
HSLhsl(271, 54%, 47%)
HSVhsv(271, 70%, 72%)
CMYKcmyk(33.9%, 69.9%, 0%, 28.2%)
CIE-LABlab(38.23, 52.31, -56.38)
CIE-LCHlch(38.23, 76.91, 312.85°)
OKLaboklab(49.06% 0.1065 -0.1604)
OKLCHoklch(49.06% 0.193 303.6)
XYZxyz(17.7966, 10.2162, 45.8249)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7937B7 #75B737
analogous
#3937B7 #7937B7 #B737B5
triadic
#7937B7 #B77937 #37B779
tetradic
#7937B7 #B73937 #75B737 #37B5B7
square
#7937B7 #B73937 #75B737 #37B5B7
split-complementary
#7937B7 #B5B737 #37B739
monochromatic
#3B1B59 #5A2988 #7937B7 #975DCE #B58CDC

Accessibility & contrast

On white

6.90
#7937B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7937B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7937B7
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7937B7#FFFFFF#000000##FFFFFF
##7937B71.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#005AB4
Tritanopia (blue-blind)
#6D5573
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7937b7;
/* rgb */ color: rgb(121, 55, 183);
/* oklch */ color: oklch(49.1% 0.193 303.6);
Tailwind
colors: {
  custom: {
    50: '#a573cd',
    500: '#7937b7',
    950: '#000000',
  },
}
SCSS
$custom: #7937b7;
$custom-light: #a573cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7937b7",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 270.938,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49062,
    "c": 0.1925,
    "h": 303.6
  },
  "luminance": 0.10216
}

Semantic roles & 50–950 ramp

primary
#7937B7
secondary
#A4C783
accent
#DD4B92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7937B7

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

Preview Lab → · Contrast checker → · Palette generator →

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