#7E36AF#7E36AF

#7E36AF is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.0% C 0.187 H 308.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#7E36AF
RGBrgb(126, 54, 175)
HSLhsl(276, 53%, 45%)
HSVhsv(276, 69%, 69%)
CMYKcmyk(28%, 69.1%, 0%, 31.4%)
CIE-LABlab(38.14, 51.93, -51.75)
CIE-LCHlch(38.14, 73.31, 315.10°)
OKLaboklab(48.96% 0.1155 -0.1466)
OKLCHoklch(48.96% 0.187 308.2)
XYZxyz(17.6596, 10.1694, 41.5817)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E36AF #67AF36
analogous
#4136AF #7E36AF #AF36A4
triadic
#7E36AF #AF7E36 #36AF7E
tetradic
#7E36AF #AF4136 #67AF36 #36A4AF
square
#7E36AF #AF4136 #67AF36 #36A4AF
split-complementary
#7E36AF #A4AF36 #36AF41
monochromatic
#3B1951 #5C2880 #7E36AF #9C57CB #B886DA

Accessibility & contrast

On white

6.92
#7E36AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7E36AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E36AF
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E36AF#FFFFFF#000000##FFFFFF
##7E36AF1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#1B5BAC
Tritanopia (blue-blind)
#76516E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7e36af;
/* rgb */ color: rgb(126, 54, 175);
/* oklch */ color: oklch(49.0% 0.187 308.2);
Tailwind
colors: {
  custom: {
    50: '#a873c8',
    500: '#7e36af',
    950: '#000000',
  },
}
SCSS
$custom: #7e36af;
$custom-light: #a873c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e36af",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 275.702,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48963,
    "c": 0.18659,
    "h": 308.2
  },
  "luminance": 0.10169
}

Semantic roles & 50–950 ramp

primary
#7E36AF
secondary
#9AC37D
accent
#DC4C86
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7E36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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