#7E36C5#7E36C5

#7E36C5 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.6% C 0.209 H 302.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7E36C5
RGBrgb(126, 54, 197)
HSLhsl(270, 57%, 49%)
HSVhsv(270, 73%, 77%)
CMYKcmyk(36%, 72.6%, 0%, 22.7%)
CIE-LABlab(39.76, 57.06, -62.08)
CIE-LCHlch(39.76, 84.32, 312.59°)
OKLaboklab(50.62% 0.112 -0.1769)
OKLCHoklch(50.62% 0.209 302.3)
XYZxyz(19.9990, 11.1051, 53.9024)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E36C5 #7DC536
analogous
#3736C5 #7E36C5 #C536C5
triadic
#7E36C5 #C57E36 #36C57E
tetradic
#7E36C5 #C53736 #7DC536 #36C5C5
square
#7E36C5 #C53736 #7DC536 #36C5C5
split-complementary
#7E36C5 #C5C536 #36C537
monochromatic
#411C65 #5F2995 #7E36C5 #9C64D4 #BB94E2

Accessibility & contrast

On white

6.52
#7E36C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7E36C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E36C5
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E36C5#FFFFFF#000000##FFFFFF
##7E36C51.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#6F597A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7e36c5;
/* rgb */ color: rgb(126, 54, 197);
/* oklch */ color: oklch(50.6% 0.209 302.3);
Tailwind
colors: {
  custom: {
    50: '#a974d8',
    500: '#7e36c5',
    950: '#000000',
  },
}
SCSS
$custom: #7e36c5;
$custom-light: #a974d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e36c5",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 270.21,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50617,
    "c": 0.2094,
    "h": 302.3
  },
  "luminance": 0.11105
}

Semantic roles & 50–950 ramp

primary
#7E36C5
secondary
#ABCD8A
accent
#E04893
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #7E36C5

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

Preview Lab → · Contrast checker → · Palette generator →

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