#7E37BF#7E37BF

#7E37BF is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.202 H 303.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7E37BF
RGBrgb(126, 55, 191)
HSLhsl(271, 55%, 48%)
HSVhsv(271, 71%, 75%)
CMYKcmyk(34%, 71.2%, 0%, 25.1%)
CIE-LABlab(39.46, 55.19, -59.06)
CIE-LCHlch(39.46, 80.83, 313.06°)
OKLaboklab(50.27% 0.1121 -0.168)
OKLCHoklch(50.27% 0.202 303.7)
XYZxyz(19.3722, 10.9296, 50.3692)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E37BF #78BF37
analogous
#3A37BF #7E37BF #BF37BC
triadic
#7E37BF #BF7E37 #37BF7E
tetradic
#7E37BF #BF3A37 #78BF37 #37BCBF
square
#7E37BF #BF3A37 #78BF37 #37BCBF
split-complementary
#7E37BF #BCBF37 #37BF3A
monochromatic
#3F1C60 #5F298F #7E37BF #9C62D2 #BA91DF

Accessibility & contrast

On white

6.59
#7E37BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7E37BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E37BF
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E37BF#FFFFFF#000000##FFFFFF
##7E37BF1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#715777
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e37bf;
/* rgb */ color: rgb(126, 55, 191);
/* oklch */ color: oklch(50.3% 0.202 303.7);
Tailwind
colors: {
  custom: {
    50: '#a974d3',
    500: '#7e37bf',
    950: '#000000',
  },
}
SCSS
$custom: #7e37bf;
$custom-light: #a974d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e37bf",
  "rgb": {
    "r": 126,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 271.324,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50266,
    "c": 0.20201,
    "h": 303.7
  },
  "luminance": 0.1093
}

Semantic roles & 50–950 ramp

primary
#7E37BF
secondary
#A7CA88
accent
#DF4991
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E37BF

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

Preview Lab → · Contrast checker → · Palette generator →

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