#7E36BD#7E36BD

#7E36BD is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.201 H 304.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7E36BD
RGBrgb(126, 54, 189)
HSLhsl(272, 56%, 48%)
HSVhsv(272, 71%, 74%)
CMYKcmyk(33.3%, 71.4%, 0%, 25.9%)
CIE-LABlab(39.15, 55.17, -58.38)
CIE-LCHlch(39.15, 80.33, 313.38°)
OKLaboklab(50% 0.1135 -0.1661)
OKLCHoklch(50% 0.201 304.3)
XYZxyz(19.1066, 10.7481, 49.2023)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E36BD #75BD36
analogous
#3A36BD #7E36BD #BD36B9
triadic
#7E36BD #BD7E36 #36BD7E
tetradic
#7E36BD #BD3A36 #75BD36 #36B9BD
square
#7E36BD #BD3A36 #75BD36 #36B9BD
split-complementary
#7E36BD #B9BD36 #36BD3A
monochromatic
#3F1B5E #5E288D #7E36BD #9C5FD1 #B98FDF

Accessibility & contrast

On white

6.67
#7E36BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7E36BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E36BD
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E36BD#FFFFFF#000000##FFFFFF
##7E36BD1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#725676
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7e36bd;
/* rgb */ color: rgb(126, 54, 189);
/* oklch */ color: oklch(50.0% 0.201 304.3);
Tailwind
colors: {
  custom: {
    50: '#a973d2',
    500: '#7e36bd',
    950: '#000000',
  },
}
SCSS
$custom: #7e36bd;
$custom-light: #a973d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e36bd",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 272,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5,
    "c": 0.20112,
    "h": 304.3
  },
  "luminance": 0.10748
}

Semantic roles & 50–950 ramp

primary
#7E36BD
secondary
#A5C985
accent
#DF498F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7E36BD

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

Preview Lab → · Contrast checker → · Palette generator →

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