#7E36C6#7E36C6

#7E36C6 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.7% C 0.210 H 302.1°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7E36C6
RGBrgb(126, 54, 198)
HSLhsl(270, 57%, 49%)
HSVhsv(270, 73%, 78%)
CMYKcmyk(36.4%, 72.7%, 0%, 22.4%)
CIE-LABlab(39.83, 57.30, -62.54)
CIE-LCHlch(39.83, 84.82, 312.49°)
OKLaboklab(50.7% 0.1118 -0.1783)
OKLCHoklch(50.7% 0.21 302.1)
XYZxyz(20.1140, 11.1511, 54.5078)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E36C6 #7EC636
analogous
#3636C6 #7E36C6 #C636C6
triadic
#7E36C6 #C67E36 #36C67E
tetradic
#7E36C6 #C63636 #7EC636 #36C6C6
square
#7E36C6 #C63636 #7EC636 #36C6C6
split-complementary
#7E36C6 #C6C636 #36C636
monochromatic
#411C66 #5F2996 #7E36C6 #9D64D5 #BB94E2

Accessibility & contrast

On white

6.50
#7E36C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7E36C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E36C6
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E36C6#FFFFFF#000000##FFFFFF
##7E36C61.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#005DC3
Tritanopia (blue-blind)
#6F5A7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7e36c6;
/* rgb */ color: rgb(126, 54, 198);
/* oklch */ color: oklch(50.7% 0.210 302.1);
Tailwind
colors: {
  custom: {
    50: '#a974d8',
    500: '#7e36c6',
    950: '#000000',
  },
}
SCSS
$custom: #7e36c6;
$custom-light: #a974d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e36c6",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 270,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50696,
    "c": 0.21044,
    "h": 302.1
  },
  "luminance": 0.11151
}

Semantic roles & 50–950 ramp

primary
#7E36C6
secondary
#ACCD8B
accent
#E04794
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #7E36C6

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

Preview Lab → · Contrast checker → · Palette generator →

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