#7937B8#7937B8

#7937B8 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.1% C 0.194 H 303.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7937B8
RGBrgb(121, 55, 184)
HSLhsl(271, 54%, 47%)
HSVhsv(271, 70%, 72%)
CMYKcmyk(34.2%, 70.1%, 0%, 27.8%)
CIE-LABlab(38.30, 52.55, -56.85)
CIE-LCHlch(38.30, 77.42, 312.75°)
OKLaboklab(49.14% 0.1063 -0.1617)
OKLCHoklch(49.14% 0.194 303.3)
XYZxyz(17.9011, 10.2580, 46.3750)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7937B8 #76B837
analogous
#3937B8 #7937B8 #B837B7
triadic
#7937B8 #B87937 #37B879
tetradic
#7937B8 #B83937 #76B837 #37B7B8
square
#7937B8 #B83937 #76B837 #37B7B8
split-complementary
#7937B8 #B7B837 #37B839
monochromatic
#3B1B5A #5A2989 #7937B8 #975DCF #B68DDD

Accessibility & contrast

On white

6.88
#7937B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7937B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7937B8
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7937B8#FFFFFF#000000##FFFFFF
##7937B81.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#6C5573
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7937b8;
/* rgb */ color: rgb(121, 55, 184);
/* oklch */ color: oklch(49.1% 0.194 303.3);
Tailwind
colors: {
  custom: {
    50: '#a573ce',
    500: '#7937b8',
    950: '#000000',
  },
}
SCSS
$custom: #7937b8;
$custom-light: #a573ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7937b8",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 270.698,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49138,
    "c": 0.19357,
    "h": 303.3
  },
  "luminance": 0.10258
}

Semantic roles & 50–950 ramp

primary
#7937B8
secondary
#A5C784
accent
#DD4A92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7937B8

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

Preview Lab → · Contrast checker → · Palette generator →

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