#7E36AA#7E36AA

#7E36AA is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.6% C 0.181 H 309.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7E36AA
RGBrgb(126, 54, 170)
HSLhsl(277, 52%, 44%)
HSVhsv(277, 68%, 67%)
CMYKcmyk(25.9%, 68.2%, 0%, 33.3%)
CIE-LABlab(37.80, 50.79, -49.33)
CIE-LCHlch(37.80, 70.80, 315.84°)
OKLaboklab(48.61% 0.116 -0.1395)
OKLCHoklch(48.61% 0.181 309.8)
XYZxyz(17.1776, 9.9766, 39.0432)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E36AA #62AA36
analogous
#4436AA #7E36AA #AA369C
triadic
#7E36AA #AA7E36 #36AA7E
tetradic
#7E36AA #AA4436 #62AA36 #369CAA
square
#7E36AA #AA4436 #62AA36 #369CAA
split-complementary
#7E36AA #9CAA36 #36AA44
monochromatic
#39184D #5C277C #7E36AA #9D54C9 #B783D8

Accessibility & contrast

On white

7.01
#7E36AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7E36AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E36AA
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E36AA#FFFFFF#000000##FFFFFF
##7E36AA1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#235AA7
Tritanopia (blue-blind)
#784F6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7e36aa;
/* rgb */ color: rgb(126, 54, 170);
/* oklch */ color: oklch(48.6% 0.181 309.8);
Tailwind
colors: {
  custom: {
    50: '#a773c4',
    500: '#7e36aa',
    950: '#000000',
  },
}
SCSS
$custom: #7e36aa;
$custom-light: #a773c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e36aa",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 277.241,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48607,
    "c": 0.1814,
    "h": 309.8
  },
  "luminance": 0.09976
}

Semantic roles & 50–950 ramp

primary
#7E36AA
secondary
#95C17B
accent
#DB4D83
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7E36AA

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

Preview Lab → · Contrast checker → · Palette generator →

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