#9E36DB#9E36DB

#9E36DB is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 56.2% C 0.238 H 309.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9E36DB
RGBrgb(158, 54, 219)
HSLhsl(278, 70%, 54%)
HSVhsv(278, 75%, 86%)
CMYKcmyk(27.9%, 75.3%, 0%, 14.1%)
CIE-LABlab(45.66, 67.70, -64.98)
CIE-LCHlch(45.66, 93.84, 316.17°)
OKLaboklab(56.2% 0.1508 -0.1844)
OKLCHoklch(56.2% 0.238 309.3)
XYZxyz(28.2033, 15.0225, 68.4180)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E36DB #73DB36
analogous
#4B36DB #9E36DB #DB36C5
triadic
#9E36DB #DB9E36 #36DB9E
tetradic
#9E36DB #DB4B36 #73DB36 #36C5DB
square
#9E36DB #DB4B36 #73DB36 #36C5DB
split-complementary
#9E36DB #C5DB36 #36DB4B
monochromatic
#591780 #7D20B4 #9E36DB #B76AE4 #D09EEE

Accessibility & contrast

On white

5.24
#9E36DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9E36DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E36DB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E36DB#FFFFFF#000000##FFFFFF
##9E36DB1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E0
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#955E87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e36db;
/* rgb */ color: rgb(158, 54, 219);
/* oklch */ color: oklch(56.2% 0.238 309.3);
Tailwind
colors: {
  custom: {
    50: '#c078e7',
    500: '#9e36db',
    950: '#000000',
  },
}
SCSS
$custom: #9e36db;
$custom-light: #c078e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e36db",
  "rgb": {
    "r": 158,
    "g": 54,
    "b": 219
  },
  "hsl": {
    "h": 277.818,
    "s": 69.62,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56204,
    "c": 0.23823,
    "h": 309.3
  },
  "luminance": 0.15022
}

Semantic roles & 50–950 ramp

primary
#9E36DB
secondary
#ADDA93
accent
#EC3B7D
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9E36DB

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

Preview Lab → · Contrast checker → · Palette generator →

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