#7E36C3#7E36C3

#7E36C3 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.5% C 0.207 H 302.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7E36C3
RGBrgb(126, 54, 195)
HSLhsl(271, 57%, 49%)
HSVhsv(271, 72%, 76%)
CMYKcmyk(35.4%, 72.3%, 0%, 23.5%)
CIE-LABlab(39.60, 56.58, -61.16)
CIE-LCHlch(39.60, 83.32, 312.77°)
OKLaboklab(50.46% 0.1124 -0.1742)
OKLCHoklch(50.46% 0.207 302.8)
XYZxyz(19.7714, 11.0141, 52.7035)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E36C3 #7BC336
analogous
#3736C3 #7E36C3 #C336C2
triadic
#7E36C3 #C37E36 #36C37E
tetradic
#7E36C3 #C33736 #7BC336 #36C2C3
square
#7E36C3 #C33736 #7BC336 #36C2C3
split-complementary
#7E36C3 #C2C336 #36C337
monochromatic
#401B63 #5F2993 #7E36C3 #9C63D4 #BB92E1

Accessibility & contrast

On white

6.56
#7E36C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7E36C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E36C3
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E36C3#FFFFFF#000000##FFFFFF
##7E36C31.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e36c3;
/* rgb */ color: rgb(126, 54, 195);
/* oklch */ color: oklch(50.5% 0.207 302.8);
Tailwind
colors: {
  custom: {
    50: '#a973d6',
    500: '#7e36c3',
    950: '#000000',
  },
}
SCSS
$custom: #7e36c3;
$custom-light: #a973d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e36c3",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 270.638,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50461,
    "c": 0.20734,
    "h": 302.8
  },
  "luminance": 0.11014
}

Semantic roles & 50–950 ramp

primary
#7E36C3
secondary
#AACC89
accent
#E04892
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7E36C3

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

Preview Lab → · Contrast checker → · Palette generator →

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