#7937BA#7937BA

#7937BA is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.3% C 0.196 H 302.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7937BA
RGBrgb(121, 55, 186)
HSLhsl(270, 54%, 47%)
HSVhsv(270, 70%, 73%)
CMYKcmyk(34.9%, 70.4%, 0%, 27.1%)
CIE-LABlab(38.45, 53.03, -57.79)
CIE-LCHlch(38.45, 78.43, 312.54°)
OKLaboklab(49.29% 0.106 -0.1645)
OKLCHoklch(49.29% 0.196 302.8)
XYZxyz(18.1122, 10.3425, 47.4869)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7937BA #78BA37
analogous
#3737BA #7937BA #BA37BA
triadic
#7937BA #BA7937 #37BA79
tetradic
#7937BA #BA3737 #78BA37 #37BABA
square
#7937BA #BA3737 #78BA37 #37BABA
split-complementary
#7937BA #BABA37 #37BA37
monochromatic
#3C1B5C #5A298B #7937BA #985FD0 #B68EDE

Accessibility & contrast

On white

6.84
#7937BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7937BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7937BA
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7937BA#FFFFFF#000000##FFFFFF
##7937BA1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#6C5675
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7937ba;
/* rgb */ color: rgb(121, 55, 186);
/* oklch */ color: oklch(49.3% 0.196 302.8);
Tailwind
colors: {
  custom: {
    50: '#a573d0',
    500: '#7937ba',
    950: '#000000',
  },
}
SCSS
$custom: #7937ba;
$custom-light: #a573d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7937ba",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 270.229,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49291,
    "c": 0.19571,
    "h": 302.8
  },
  "luminance": 0.10342
}

Semantic roles & 50–950 ramp

primary
#7937BA
secondary
#A6C885
accent
#DE4A93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7937BA

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

Preview Lab → · Contrast checker → · Palette generator →

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