#7E36B9#7E36B9

#7E36B9 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.7% C 0.197 H 305.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7E36B9
RGBrgb(126, 54, 185)
HSLhsl(273, 55%, 47%)
HSVhsv(273, 71%, 73%)
CMYKcmyk(31.9%, 70.8%, 0%, 27.5%)
CIE-LABlab(38.86, 54.24, -56.51)
CIE-LCHlch(38.86, 78.33, 313.82°)
OKLaboklab(49.7% 0.1141 -0.1606)
OKLCHoklch(49.7% 0.197 305.4)
XYZxyz(18.6784, 10.5769, 46.9471)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E36B9 #71B936
analogous
#3C36B9 #7E36B9 #B936B3
triadic
#7E36B9 #B97E36 #36B97E
tetradic
#7E36B9 #B93C36 #71B936 #36B3B9
square
#7E36B9 #B93C36 #71B936 #36B3B9
split-complementary
#7E36B9 #B3B936 #36B93C
monochromatic
#3D1A5A #5E288A #7E36B9 #9C5DD0 #B98CDD

Accessibility & contrast

On white

6.74
#7E36B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7E36B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E36B9
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E36B9#FFFFFF#000000##FFFFFF
##7E36B91.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#735474
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e36b9;
/* rgb */ color: rgb(126, 54, 185);
/* oklch */ color: oklch(49.7% 0.197 305.4);
Tailwind
colors: {
  custom: {
    50: '#a873cf',
    500: '#7e36b9',
    950: '#000000',
  },
}
SCSS
$custom: #7e36b9;
$custom-light: #a873cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e36b9",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 185
  },
  "hsl": {
    "h": 272.977,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49698,
    "c": 0.19697,
    "h": 305.4
  },
  "luminance": 0.10577
}

Semantic roles & 50–950 ramp

primary
#7E36B9
secondary
#A2C883
accent
#DE4A8D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7E36B9

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

Preview Lab → · Contrast checker → · Palette generator →

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