#7E36BE#7E36BE

#7E36BE is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.1% C 0.202 H 304.1°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7E36BE
RGBrgb(126, 54, 190)
HSLhsl(272, 56%, 48%)
HSVhsv(272, 72%, 75%)
CMYKcmyk(33.7%, 71.6%, 0%, 25.5%)
CIE-LABlab(39.23, 55.41, -58.85)
CIE-LCHlch(39.23, 80.83, 313.27°)
OKLaboklab(50.08% 0.1133 -0.1674)
OKLCHoklch(50.08% 0.202 304.1)
XYZxyz(19.2155, 10.7917, 49.7759)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E36BE #76BE36
analogous
#3A36BE #7E36BE #BE36BA
triadic
#7E36BE #BE7E36 #36BE7E
tetradic
#7E36BE #BE3A36 #76BE36 #36BABE
square
#7E36BE #BE3A36 #76BE36 #36BABE
split-complementary
#7E36BE #BABE36 #36BE3A
monochromatic
#3F1B5F #5E288E #7E36BE #9C60D2 #BA8FDF

Accessibility & contrast

On white

6.65
#7E36BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7E36BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E36BE
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E36BE#FFFFFF#000000##FFFFFF
##7E36BE1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#725677
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7e36be;
/* rgb */ color: rgb(126, 54, 190);
/* oklch */ color: oklch(50.1% 0.202 304.1);
Tailwind
colors: {
  custom: {
    50: '#a973d2',
    500: '#7e36be',
    950: '#000000',
  },
}
SCSS
$custom: #7e36be;
$custom-light: #a973d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e36be",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 271.765,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50076,
    "c": 0.20216,
    "h": 304.1
  },
  "luminance": 0.10792
}

Semantic roles & 50–950 ramp

primary
#7E36BE
secondary
#A6CA86
accent
#DF498F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7E36BE

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

Preview Lab → · Contrast checker → · Palette generator →

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