#7E36C2#7E36C2

#7E36C2 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.4% C 0.206 H 303.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7E36C2
RGBrgb(126, 54, 194)
HSLhsl(271, 56%, 49%)
HSVhsv(271, 72%, 76%)
CMYKcmyk(35.1%, 72.2%, 0%, 23.9%)
CIE-LABlab(39.53, 56.35, -60.70)
CIE-LCHlch(39.53, 82.82, 312.87°)
OKLaboklab(50.38% 0.1126 -0.1729)
OKLCHoklch(50.38% 0.206 303.1)
XYZxyz(19.6587, 10.9690, 52.1100)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E36C2 #7AC236
analogous
#3836C2 #7E36C2 #C236C0
triadic
#7E36C2 #C27E36 #36C27E
tetradic
#7E36C2 #C23836 #7AC236 #36C0C2
square
#7E36C2 #C23836 #7AC236 #36C0C2
split-complementary
#7E36C2 #C0C236 #36C238
monochromatic
#401B62 #5F2992 #7E36C2 #9C62D3 #BA92E1

Accessibility & contrast

On white

6.58
#7E36C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7E36C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E36C2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E36C2#FFFFFF#000000##FFFFFF
##7E36C21.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#705879
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e36c2;
/* rgb */ color: rgb(126, 54, 194);
/* oklch */ color: oklch(50.4% 0.206 303.1);
Tailwind
colors: {
  custom: {
    50: '#a973d5',
    500: '#7e36c2',
    950: '#000000',
  },
}
SCSS
$custom: #7e36c2;
$custom-light: #a973d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e36c2",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 270.857,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50384,
    "c": 0.2063,
    "h": 303.1
  },
  "luminance": 0.10969
}

Semantic roles & 50–950 ramp

primary
#7E36C2
secondary
#A9CC88
accent
#E04892
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7E36C2

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

Preview Lab → · Contrast checker → · Palette generator →

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