#7E36B8#7E36B8

#7E36B8 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.6% C 0.196 H 305.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7E36B8
RGBrgb(126, 54, 184)
HSLhsl(273, 55%, 47%)
HSVhsv(273, 71%, 72%)
CMYKcmyk(31.5%, 70.7%, 0%, 27.8%)
CIE-LABlab(38.79, 54.00, -56.04)
CIE-LCHlch(38.79, 77.82, 313.94°)
OKLaboklab(49.62% 0.1143 -0.1592)
OKLCHoklch(49.62% 0.196 305.7)
XYZxyz(18.5732, 10.5348, 46.3931)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E36B8 #70B836
analogous
#3D36B8 #7E36B8 #B836B1
triadic
#7E36B8 #B87E36 #36B87E
tetradic
#7E36B8 #B83D36 #70B836 #36B1B8
square
#7E36B8 #B83D36 #70B836 #36B1B8
split-complementary
#7E36B8 #B1B836 #36B83D
monochromatic
#3D1A59 #5E2889 #7E36B8 #9C5CCF #B98BDD

Accessibility & contrast

On white

6.76
#7E36B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7E36B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E36B8
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E36B8#FFFFFF#000000##FFFFFF
##7E36B81.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#005CB5
Tritanopia (blue-blind)
#745473
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e36b8;
/* rgb */ color: rgb(126, 54, 184);
/* oklch */ color: oklch(49.6% 0.196 305.7);
Tailwind
colors: {
  custom: {
    50: '#a873ce',
    500: '#7e36b8',
    950: '#000000',
  },
}
SCSS
$custom: #7e36b8;
$custom-light: #a873ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7e36b8",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 273.231,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49623,
    "c": 0.19594,
    "h": 305.7
  },
  "luminance": 0.10535
}

Semantic roles & 50–950 ramp

primary
#7E36B8
secondary
#A1C782
accent
#DE4A8C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7E36B8

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

Preview Lab → · Contrast checker → · Palette generator →

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