#7937AB#7937AB

#7937AB is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.2% C 0.180 H 307.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7937AB
RGBrgb(121, 55, 171)
HSLhsl(274, 51%, 44%)
HSVhsv(274, 68%, 67%)
CMYKcmyk(29.2%, 67.8%, 0%, 32.9%)
CIE-LABlab(37.37, 49.46, -50.66)
CIE-LCHlch(37.37, 70.80, 314.31°)
OKLaboklab(48.18% 0.108 -0.1435)
OKLCHoklch(48.18% 0.18 307)
XYZxyz(16.6005, 9.7378, 39.5252)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7937AB #69AB37
analogous
#3F37AB #7937AB #AB37A3
triadic
#7937AB #AB7937 #37AB79
tetradic
#7937AB #AB3F37 #69AB37 #37A3AB
square
#7937AB #AB3F37 #69AB37 #37A3AB
split-complementary
#7937AB #A3AB37 #37AB3F
monochromatic
#37194E #58287D #7937AB #9756C9 #B485D8

Accessibility & contrast

On white

7.12
#7937AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7937AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7937AB
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7937AB#FFFFFF#000000##FFFFFF
##7937AB1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#1A58A8
Tritanopia (blue-blind)
#71506C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7937ab;
/* rgb */ color: rgb(121, 55, 171);
/* oklch */ color: oklch(48.2% 0.180 307.0);
Tailwind
colors: {
  custom: {
    50: '#a473c5',
    500: '#7937ab',
    950: '#000000',
  },
}
SCSS
$custom: #7937ab;
$custom-light: #a473c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7937ab",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 274.138,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48176,
    "c": 0.17965,
    "h": 307
  },
  "luminance": 0.09738
}

Semantic roles & 50–950 ramp

primary
#7937AB
secondary
#9AC17C
accent
#DB4D8A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7937AB

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

Preview Lab → · Contrast checker → · Palette generator →

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