#7937BB#7937BB

#7937BB is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.4% C 0.197 H 302.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7937BB
RGBrgb(121, 55, 187)
HSLhsl(270, 55%, 47%)
HSVhsv(270, 71%, 73%)
CMYKcmyk(35.3%, 70.6%, 0%, 26.7%)
CIE-LABlab(38.52, 53.27, -58.26)
CIE-LCHlch(38.52, 78.94, 312.44°)
OKLaboklab(49.37% 0.1059 -0.1659)
OKLCHoklch(49.37% 0.197 302.5)
XYZxyz(18.2189, 10.3851, 48.0488)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7937BB #79BB37
analogous
#3737BB #7937BB #BB37BB
triadic
#7937BB #BB7937 #37BB79
tetradic
#7937BB #BB3737 #79BB37 #37BBBB
square
#7937BB #BB3737 #79BB37 #37BBBB
split-complementary
#7937BB #BBBB37 #37BB37
monochromatic
#3C1B5C #5A298C #7937BB #985FD0 #B68EDE

Accessibility & contrast

On white

6.82
#7937BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7937BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7937BB
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7937BB#FFFFFF#000000##FFFFFF
##7937BB1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#6B5675
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7937bb;
/* rgb */ color: rgb(121, 55, 187);
/* oklch */ color: oklch(49.4% 0.197 302.5);
Tailwind
colors: {
  custom: {
    50: '#a573d0',
    500: '#7937bb',
    950: '#000000',
  },
}
SCSS
$custom: #7937bb;
$custom-light: #a573d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7937bb",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 270,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49367,
    "c": 0.19677,
    "h": 302.5
  },
  "luminance": 0.10385
}

Semantic roles & 50–950 ramp

primary
#7937BB
secondary
#A7C985
accent
#DE4A94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7937BB

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

Preview Lab → · Contrast checker → · Palette generator →

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