#7937BD#7937BD

#7937BD is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.5% C 0.199 H 302.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7937BD
RGBrgb(121, 55, 189)
HSLhsl(270, 55%, 48%)
HSVhsv(270, 71%, 74%)
CMYKcmyk(36%, 70.9%, 0%, 25.9%)
CIE-LABlab(38.68, 53.75, -59.19)
CIE-LCHlch(38.68, 79.95, 312.25°)
OKLaboklab(49.52% 0.1055 -0.1686)
OKLCHoklch(49.52% 0.199 302)
XYZxyz(18.4345, 10.4714, 49.1842)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7937BD #7BBD37
analogous
#3738BD #7937BD #BC37BD
triadic
#7937BD #BD7937 #37BD79
tetradic
#7937BD #BD3738 #7BBD37 #37BDBC
square
#7937BD #BD3738 #7BBD37 #37BDBC
split-complementary
#7937BD #BDBC37 #38BD37
monochromatic
#3C1B5E #5B298E #7937BD #9860D1 #B790DF

Accessibility & contrast

On white

6.79
#7937BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7937BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7937BD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7937BD#FFFFFF#000000##FFFFFF
##7937BD1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#6B5776
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7937bd;
/* rgb */ color: rgb(121, 55, 189);
/* oklch */ color: oklch(49.5% 0.199 302.0);
Tailwind
colors: {
  custom: {
    50: '#a573d2',
    500: '#7937bd',
    950: '#000000',
  },
}
SCSS
$custom: #7937bd;
$custom-light: #a573d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7937bd",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 269.552,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49522,
    "c": 0.19891,
    "h": 302
  },
  "luminance": 0.10471
}

Semantic roles & 50–950 ramp

primary
#7937BD
secondary
#A8C986
accent
#DE4A95
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7937BD

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

Preview Lab → · Contrast checker → · Palette generator →

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