#7E36CC#7E36CC

#7E36CC is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.2% C 0.217 H 300.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7E36CC
RGBrgb(126, 54, 204)
HSLhsl(269, 60%, 51%)
HSVhsv(269, 74%, 80%)
CMYKcmyk(38.2%, 73.5%, 0%, 20%)
CIE-LABlab(40.30, 58.73, -65.26)
CIE-LCHlch(40.30, 87.80, 311.98°)
OKLaboklab(51.17% 0.1106 -0.1863)
OKLCHoklch(51.17% 0.217 300.7)
XYZxyz(20.8197, 11.4334, 58.2250)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E36CC #84CC36
analogous
#3639CC #7E36CC #C936CC
triadic
#7E36CC #CC7E36 #36CC7E
tetradic
#7E36CC #CC3639 #84CC36 #36CCC9
square
#7E36CC #CC3639 #84CC36 #36CCC9
split-complementary
#7E36CC #CCC936 #39CC36
monochromatic
#421B6C #60289D #7E36CC #9D67D8 #BD98E5

Accessibility & contrast

On white

6.39
#7E36CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7E36CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E36CC
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E36CC#FFFFFF#000000##FFFFFF
##7E36CC1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#6C5C7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7e36cc;
/* rgb */ color: rgb(126, 54, 204);
/* oklch */ color: oklch(51.2% 0.217 300.7);
Tailwind
colors: {
  custom: {
    50: '#aa74dd',
    500: '#7e36cc',
    950: '#000000',
  },
}
SCSS
$custom: #7e36cc;
$custom-light: #aa74dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e36cc",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 268.8,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51172,
    "c": 0.21664,
    "h": 300.7
  },
  "luminance": 0.11434
}

Semantic roles & 50–950 ramp

primary
#7E36CC
secondary
#B0D08E
accent
#E34597
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7E36CC

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

Preview Lab → · Contrast checker → · Palette generator →

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