#7937BF#7937BF

#7937BF is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.7% C 0.201 H 301.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7937BF
RGBrgb(121, 55, 191)
HSLhsl(269, 55%, 48%)
HSVhsv(269, 71%, 75%)
CMYKcmyk(36.6%, 71.2%, 0%, 25.1%)
CIE-LABlab(38.83, 54.24, -60.11)
CIE-LCHlch(38.83, 80.97, 312.06°)
OKLaboklab(49.68% 0.1052 -0.1713)
OKLCHoklch(49.68% 0.201 301.5)
XYZxyz(18.6530, 10.5588, 50.3355)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7937BF #7DBF37
analogous
#3739BF #7937BF #BD37BF
triadic
#7937BF #BF7937 #37BF79
tetradic
#7937BF #BF3739 #7DBF37 #37BFBD
square
#7937BF #BF3739 #7DBF37 #37BFBD
split-complementary
#7937BF #BFBD37 #39BF37
monochromatic
#3D1C60 #5B298F #7937BF #9862D2 #B791DF

Accessibility & contrast

On white

6.75
#7937BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7937BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7937BF
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7937BF#FFFFFF#000000##FFFFFF
##7937BF1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#6A5877
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7937bf;
/* rgb */ color: rgb(121, 55, 191);
/* oklch */ color: oklch(49.7% 0.201 301.5);
Tailwind
colors: {
  custom: {
    50: '#a573d3',
    500: '#7937bf',
    950: '#000000',
  },
}
SCSS
$custom: #7937bf;
$custom-light: #a573d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7937bf",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 269.118,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49677,
    "c": 0.20104,
    "h": 301.5
  },
  "luminance": 0.10559
}

Semantic roles & 50–950 ramp

primary
#7937BF
secondary
#AACA88
accent
#DF4996
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7937BF

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

Preview Lab → · Contrast checker → · Palette generator →

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