#9E36D3#9E36D3

#9E36D3 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.6% C 0.231 H 311.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9E36D3
RGBrgb(158, 54, 211)
HSLhsl(280, 64%, 52%)
HSVhsv(280, 74%, 83%)
CMYKcmyk(25.1%, 74.4%, 0%, 17.3%)
CIE-LABlab(45.10, 66.04, -61.32)
CIE-LCHlch(45.10, 90.12, 317.12°)
OKLaboklab(55.63% 0.1523 -0.1736)
OKLCHoklch(55.63% 0.231 311.3)
XYZxyz(27.1754, 14.6113, 63.0041)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E36D3 #6BD336
analogous
#4F36D3 #9E36D3 #D336BA
triadic
#9E36D3 #D39E36 #36D39E
tetradic
#9E36D3 #D34F36 #6BD336 #36BAD3
square
#9E36D3 #D34F36 #6BD336 #36BAD3
split-complementary
#9E36D3 #BAD336 #36D34F
monochromatic
#561A75 #7B25A7 #9E36D3 #B668DE #CE9AE9

Accessibility & contrast

On white

5.35
#9E36D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9E36D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E36D3
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E36D3#FFFFFF#000000##FFFFFF
##9E36D31.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#176DD0
Tritanopia (blue-blind)
#975B82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9e36d3;
/* rgb */ color: rgb(158, 54, 211);
/* oklch */ color: oklch(55.6% 0.231 311.3);
Tailwind
colors: {
  custom: {
    50: '#c077e1',
    500: '#9e36d3',
    950: '#000000',
  },
}
SCSS
$custom: #9e36d3;
$custom-light: #c077e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e36d3",
  "rgb": {
    "r": 158,
    "g": 54,
    "b": 211
  },
  "hsl": {
    "h": 279.745,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55625,
    "c": 0.23094,
    "h": 311.3
  },
  "luminance": 0.14611
}

Semantic roles & 50–950 ramp

primary
#9E36D3
secondary
#A7D590
accent
#E74179
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E36D3

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

Preview Lab → · Contrast checker → · Palette generator →

#9E36D3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva