#7E36BF#7E36BF

#7E36BF is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.2% C 0.203 H 303.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7E36BF
RGBrgb(126, 54, 191)
HSLhsl(272, 56%, 48%)
HSVhsv(272, 72%, 75%)
CMYKcmyk(34%, 71.7%, 0%, 25.1%)
CIE-LABlab(39.30, 55.64, -59.31)
CIE-LCHlch(39.30, 81.33, 313.17°)
OKLaboklab(50.15% 0.1131 -0.1688)
OKLCHoklch(50.15% 0.203 303.8)
XYZxyz(19.3252, 10.8356, 50.3535)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E36BF #77BF36
analogous
#3A36BF #7E36BF #BF36BB
triadic
#7E36BF #BF7E36 #36BF7E
tetradic
#7E36BF #BF3A36 #77BF36 #36BBBF
square
#7E36BF #BF3A36 #77BF36 #36BBBF
split-complementary
#7E36BF #BBBF36 #36BF3A
monochromatic
#3F1B60 #5F298F #7E36BF #9C60D2 #BA90E0

Accessibility & contrast

On white

6.63
#7E36BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7E36BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E36BF
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E36BF#FFFFFF#000000##FFFFFF
##7E36BF1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#715777
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e36bf;
/* rgb */ color: rgb(126, 54, 191);
/* oklch */ color: oklch(50.2% 0.203 303.8);
Tailwind
colors: {
  custom: {
    50: '#a973d3',
    500: '#7e36bf',
    950: '#000000',
  },
}
SCSS
$custom: #7e36bf;
$custom-light: #a973d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e36bf",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 271.533,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50153,
    "c": 0.2032,
    "h": 303.8
  },
  "luminance": 0.10836
}

Semantic roles & 50–950 ramp

primary
#7E36BF
secondary
#A7CA87
accent
#DF4990
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7E36BF

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

Preview Lab → · Contrast checker → · Palette generator →

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