#7E37BE#7E37BE

#7E37BE is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.2% C 0.201 H 304.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7E37BE
RGBrgb(126, 55, 190)
HSLhsl(272, 55%, 48%)
HSVhsv(272, 71%, 75%)
CMYKcmyk(33.7%, 71.1%, 0%, 25.5%)
CIE-LABlab(39.39, 54.95, -58.59)
CIE-LCHlch(39.39, 80.33, 313.17°)
OKLaboklab(50.19% 0.1123 -0.1667)
OKLCHoklch(50.19% 0.201 304)
XYZxyz(19.2625, 10.8858, 49.7916)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E37BE #77BE37
analogous
#3B37BE #7E37BE #BE37BA
triadic
#7E37BE #BE7E37 #37BE7E
tetradic
#7E37BE #BE3B37 #77BE37 #37BABE
square
#7E37BE #BE3B37 #77BE37 #37BABE
split-complementary
#7E37BE #BABE37 #37BE3B
monochromatic
#3F1C5F #5F298F #7E37BE #9C61D1 #BA90DF

Accessibility & contrast

On white

6.61
#7E37BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7E37BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E37BE
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E37BE#FFFFFF#000000##FFFFFF
##7E37BE1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#725777
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e37be;
/* rgb */ color: rgb(126, 55, 190);
/* oklch */ color: oklch(50.2% 0.201 304.0);
Tailwind
colors: {
  custom: {
    50: '#a974d2',
    500: '#7e37be',
    950: '#000000',
  },
}
SCSS
$custom: #7e37be;
$custom-light: #a974d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e37be",
  "rgb": {
    "r": 126,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 271.556,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5019,
    "c": 0.20097,
    "h": 304
  },
  "luminance": 0.10886
}

Semantic roles & 50–950 ramp

primary
#7E37BE
secondary
#A7CA87
accent
#DE4990
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E37BE

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

Preview Lab → · Contrast checker → · Palette generator →

#7E37BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva