#7E37BD#7E37BD

#7E37BD is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.1% C 0.200 H 304.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7E37BD
RGBrgb(126, 55, 189)
HSLhsl(272, 55%, 48%)
HSVhsv(272, 71%, 74%)
CMYKcmyk(33.3%, 70.9%, 0%, 25.9%)
CIE-LABlab(39.31, 54.72, -58.12)
CIE-LCHlch(39.31, 79.83, 313.27°)
OKLaboklab(50.11% 0.1125 -0.1653)
OKLCHoklch(50.11% 0.2 304.2)
XYZxyz(19.1536, 10.8422, 49.2179)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E37BD #76BD37
analogous
#3B37BD #7E37BD #BD37B9
triadic
#7E37BD #BD7E37 #37BD7E
tetradic
#7E37BD #BD3B37 #76BD37 #37B9BD
square
#7E37BD #BD3B37 #76BD37 #37B9BD
split-complementary
#7E37BD #B9BD37 #37BD3B
monochromatic
#3F1B5E #5E298E #7E37BD #9C60D1 #BA90DF

Accessibility & contrast

On white

6.63
#7E37BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7E37BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E37BD
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E37BD#FFFFFF#000000##FFFFFF
##7E37BD1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#725776
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e37bd;
/* rgb */ color: rgb(126, 55, 189);
/* oklch */ color: oklch(50.1% 0.200 304.2);
Tailwind
colors: {
  custom: {
    50: '#a974d2',
    500: '#7e37bd',
    950: '#000000',
  },
}
SCSS
$custom: #7e37bd;
$custom-light: #a974d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e37bd",
  "rgb": {
    "r": 126,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 271.791,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50114,
    "c": 0.19993,
    "h": 304.2
  },
  "luminance": 0.10842
}

Semantic roles & 50–950 ramp

primary
#7E37BD
secondary
#A6C986
accent
#DE4A8F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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