#7E36C1#7E36C1

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

Color values

HEX#7E36C1
RGBrgb(126, 54, 193)
HSLhsl(271, 56%, 48%)
HSVhsv(271, 72%, 76%)
CMYKcmyk(34.7%, 72%, 0%, 24.3%)
CIE-LABlab(39.45, 56.11, -60.24)
CIE-LCHlch(39.45, 82.33, 312.97°)
OKLaboklab(50.31% 0.1128 -0.1715)
OKLCHoklch(50.31% 0.205 303.3)
XYZxyz(19.5467, 10.9242, 51.5205)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E36C1 #79C136
analogous
#3836C1 #7E36C1 #C136BE
triadic
#7E36C1 #C17E36 #36C17E
tetradic
#7E36C1 #C13836 #79C136 #36BEC1
square
#7E36C1 #C13836 #79C136 #36BEC1
split-complementary
#7E36C1 #BEC136 #36C138
monochromatic
#401B61 #5F2991 #7E36C1 #9C61D3 #BA91E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E36C1#FFFFFF#000000##FFFFFF
##7E36C11.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#715878
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e36c1;
/* rgb */ color: rgb(126, 54, 193);
/* oklch */ color: oklch(50.3% 0.205 303.3);
Tailwind
colors: {
  custom: {
    50: '#a973d5',
    500: '#7e36c1',
    950: '#000000',
  },
}
SCSS
$custom: #7e36c1;
$custom-light: #a973d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e36c1",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 193
  },
  "hsl": {
    "h": 271.079,
    "s": 56.275,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50306,
    "c": 0.20527,
    "h": 303.3
  },
  "luminance": 0.10924
}

Semantic roles & 50–950 ramp

primary
#7E36C1
secondary
#A8CB88
accent
#E04891
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7E36C1

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

Preview Lab → · Contrast checker → · Palette generator →

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