#7937BC#7937BC

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

Color values

HEX#7937BC
RGBrgb(121, 55, 188)
HSLhsl(270, 55%, 48%)
HSVhsv(270, 71%, 74%)
CMYKcmyk(35.6%, 70.7%, 0%, 26.3%)
CIE-LABlab(38.60, 53.51, -58.72)
CIE-LCHlch(38.60, 79.45, 312.34°)
OKLaboklab(49.44% 0.1057 -0.1672)
OKLCHoklch(49.44% 0.198 302.3)
XYZxyz(18.3263, 10.4281, 48.6145)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7937BC #7ABC37
analogous
#3738BC #7937BC #BB37BC
triadic
#7937BC #BC7937 #37BC79
tetradic
#7937BC #BC3738 #7ABC37 #37BCBB
square
#7937BC #BC3738 #7ABC37 #37BCBB
split-complementary
#7937BC #BCBB37 #38BC37
monochromatic
#3C1B5D #5B298D #7937BC #9860D0 #B68FDE

Accessibility & contrast

On white

6.81
#7937BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7937BC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7937BC#FFFFFF#000000##FFFFFF
##7937BC1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7937bc;
/* rgb */ color: rgb(121, 55, 188);
/* oklch */ color: oklch(49.4% 0.198 302.3);
Tailwind
colors: {
  custom: {
    50: '#a573d1',
    500: '#7937bc',
    950: '#000000',
  },
}
SCSS
$custom: #7937bc;
$custom-light: #a573d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7937bc",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 269.774,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49444,
    "c": 0.19785,
    "h": 302.3
  },
  "luminance": 0.10428
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7937BC

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

Preview Lab → · Contrast checker → · Palette generator →

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