#7E36BC#7E36BC

#7E36BC is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.9% C 0.200 H 304.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7E36BC
RGBrgb(126, 54, 188)
HSLhsl(272, 55%, 47%)
HSVhsv(272, 71%, 74%)
CMYKcmyk(33%, 71.3%, 0%, 26.3%)
CIE-LABlab(39.08, 54.94, -57.92)
CIE-LCHlch(39.08, 79.83, 313.49°)
OKLaboklab(49.92% 0.1136 -0.1647)
OKLCHoklch(49.92% 0.2 304.6)
XYZxyz(18.9984, 10.7049, 48.6326)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E36BC #74BC36
analogous
#3B36BC #7E36BC #BC36B7
triadic
#7E36BC #BC7E36 #36BC7E
tetradic
#7E36BC #BC3B36 #74BC36 #36B7BC
square
#7E36BC #BC3B36 #74BC36 #36B7BC
split-complementary
#7E36BC #B7BC36 #36BC3B
monochromatic
#3E1B5D #5E288C #7E36BC #9C5ED1 #B98EDF

Accessibility & contrast

On white

6.69
#7E36BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7E36BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E36BC
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E36BC#FFFFFF#000000##FFFFFF
##7E36BC1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#725675
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7e36bc;
/* rgb */ color: rgb(126, 54, 188);
/* oklch */ color: oklch(49.9% 0.200 304.6);
Tailwind
colors: {
  custom: {
    50: '#a973d1',
    500: '#7e36bc',
    950: '#000000',
  },
}
SCSS
$custom: #7e36bc;
$custom-light: #a973d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e36bc",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 272.239,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49924,
    "c": 0.20009,
    "h": 304.6
  },
  "luminance": 0.10705
}

Semantic roles & 50–950 ramp

primary
#7E36BC
secondary
#A4C985
accent
#DF498E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7E36BC

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

Preview Lab → · Contrast checker → · Palette generator →

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