#7937BE#7937BE

#7937BE is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.6% C 0.200 H 301.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7937BE
RGBrgb(121, 55, 190)
HSLhsl(269, 55%, 48%)
HSVhsv(269, 71%, 75%)
CMYKcmyk(36.3%, 71.1%, 0%, 25.5%)
CIE-LABlab(38.75, 54.00, -59.65)
CIE-LCHlch(38.75, 80.46, 312.15°)
OKLaboklab(49.6% 0.1053 -0.17)
OKLCHoklch(49.6% 0.2 301.8)
XYZxyz(18.5434, 10.5150, 49.7579)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7937BE #7CBE37
analogous
#3739BE #7937BE #BC37BE
triadic
#7937BE #BE7937 #37BE79
tetradic
#7937BE #BE3739 #7CBE37 #37BEBC
square
#7937BE #BE3739 #7CBE37 #37BEBC
split-complementary
#7937BE #BEBC37 #39BE37
monochromatic
#3D1C5F #5B298F #7937BE #9861D1 #B790DF

Accessibility & contrast

On white

6.77
#7937BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7937BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7937BE
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7937BE#FFFFFF#000000##FFFFFF
##7937BE1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7937be;
/* rgb */ color: rgb(121, 55, 190);
/* oklch */ color: oklch(49.6% 0.200 301.8);
Tailwind
colors: {
  custom: {
    50: '#a573d2',
    500: '#7937be',
    950: '#000000',
  },
}
SCSS
$custom: #7937be;
$custom-light: #a573d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7937be",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 269.333,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49599,
    "c": 0.19997,
    "h": 301.8
  },
  "luminance": 0.10515
}

Semantic roles & 50–950 ramp

primary
#7937BE
secondary
#A9CA87
accent
#DE4996
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7937BE

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

Preview Lab → · Contrast checker → · Palette generator →

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