#7E36C4#7E36C4

#7E36C4 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.5% C 0.208 H 302.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7E36C4
RGBrgb(126, 54, 196)
HSLhsl(270, 57%, 49%)
HSVhsv(270, 72%, 77%)
CMYKcmyk(35.7%, 72.4%, 0%, 23.1%)
CIE-LABlab(39.68, 56.82, -61.62)
CIE-LCHlch(39.68, 83.82, 312.68°)
OKLaboklab(50.54% 0.1122 -0.1756)
OKLCHoklch(50.54% 0.208 302.6)
XYZxyz(19.8848, 11.0594, 53.3009)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E36C4 #7CC436
analogous
#3736C4 #7E36C4 #C436C3
triadic
#7E36C4 #C47E36 #36C47E
tetradic
#7E36C4 #C43736 #7CC436 #36C3C4
square
#7E36C4 #C43736 #7CC436 #36C3C4
split-complementary
#7E36C4 #C3C436 #36C437
monochromatic
#401C64 #5F2994 #7E36C4 #9C63D4 #BB93E1

Accessibility & contrast

On white

6.54
#7E36C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7E36C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E36C4
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E36C4#FFFFFF#000000##FFFFFF
##7E36C41.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#6F597A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e36c4;
/* rgb */ color: rgb(126, 54, 196);
/* oklch */ color: oklch(50.5% 0.208 302.6);
Tailwind
colors: {
  custom: {
    50: '#a974d7',
    500: '#7e36c4',
    950: '#000000',
  },
}
SCSS
$custom: #7e36c4;
$custom-light: #a974d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e36c4",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 270.423,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50539,
    "c": 0.20837,
    "h": 302.6
  },
  "luminance": 0.11059
}

Semantic roles & 50–950 ramp

primary
#7E36C4
secondary
#AACC89
accent
#E04893
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #7E36C4

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

Preview Lab → · Contrast checker → · Palette generator →

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