#9E36D7#9E36D7

#9E36D7 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.9% C 0.235 H 310.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9E36D7
RGBrgb(158, 54, 215)
HSLhsl(279, 67%, 53%)
HSVhsv(279, 75%, 84%)
CMYKcmyk(26.5%, 74.9%, 0%, 15.7%)
CIE-LABlab(45.38, 66.87, -63.16)
CIE-LCHlch(45.38, 91.98, 316.63°)
OKLaboklab(55.91% 0.1516 -0.179)
OKLCHoklch(55.91% 0.235 310.3)
XYZxyz(27.6831, 14.8143, 65.6779)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E36D7 #6FD736
analogous
#4E36D7 #9E36D7 #D736BF
triadic
#9E36D7 #D79E36 #36D79E
tetradic
#9E36D7 #D74E36 #6FD736 #36BFD7
square
#9E36D7 #D74E36 #6FD736 #36BFD7
split-complementary
#9E36D7 #BFD736 #36D74E
monochromatic
#58187A #7C22AD #9E36D7 #B769E1 #CF9CEB

Accessibility & contrast

On white

5.30
#9E36D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9E36D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E36D7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E36D7#FFFFFF#000000##FFFFFF
##9E36D71.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#086DD4
Tritanopia (blue-blind)
#965C85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9e36d7;
/* rgb */ color: rgb(158, 54, 215);
/* oklch */ color: oklch(55.9% 0.235 310.3);
Tailwind
colors: {
  custom: {
    50: '#c078e4',
    500: '#9e36d7',
    950: '#000000',
  },
}
SCSS
$custom: #9e36d7;
$custom-light: #c078e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e36d7",
  "rgb": {
    "r": 158,
    "g": 54,
    "b": 215
  },
  "hsl": {
    "h": 278.758,
    "s": 66.805,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55913,
    "c": 0.23459,
    "h": 310.3
  },
  "luminance": 0.14814
}

Semantic roles & 50–950 ramp

primary
#9E36D7
secondary
#AAD792
accent
#EA3E7B
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9E36D7

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

Preview Lab → · Contrast checker → · Palette generator →

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