#9B36DB#9B36DB

#9B36DB is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.8% C 0.237 H 308.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9B36DB
RGBrgb(155, 54, 219)
HSLhsl(277, 70%, 54%)
HSVhsv(277, 75%, 86%)
CMYKcmyk(29.2%, 75.3%, 0%, 14.1%)
CIE-LABlab(45.25, 67.17, -65.68)
CIE-LCHlch(45.25, 93.94, 315.64°)
OKLaboklab(55.83% 0.1469 -0.1865)
OKLCHoklch(55.83% 0.237 308.2)
XYZxyz(27.6203, 14.7218, 68.3907)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B36DB #76DB36
analogous
#4836DB #9B36DB #DB36C9
triadic
#9B36DB #DB9B36 #36DB9B
tetradic
#9B36DB #DB4836 #76DB36 #36C9DB
square
#9B36DB #DB4836 #76DB36 #36C9DB
split-complementary
#9B36DB #C9DB36 #36DB48
monochromatic
#571780 #7A20B4 #9B36DB #B56AE4 #CF9EEE

Accessibility & contrast

On white

5.32
#9B36DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9B36DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B36DB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B36DB#FFFFFF#000000##FFFFFF
##9B36DB1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E0
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#915F87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b36db;
/* rgb */ color: rgb(155, 54, 219);
/* oklch */ color: oklch(55.8% 0.237 308.2);
Tailwind
colors: {
  custom: {
    50: '#be77e7',
    500: '#9b36db',
    950: '#000000',
  },
}
SCSS
$custom: #9b36db;
$custom-light: #be77e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b36db",
  "rgb": {
    "r": 155,
    "g": 54,
    "b": 219
  },
  "hsl": {
    "h": 276.727,
    "s": 69.62,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55826,
    "c": 0.23743,
    "h": 308.2
  },
  "luminance": 0.14721
}

Semantic roles & 50–950 ramp

primary
#9B36DB
secondary
#AEDA93
accent
#EC3B80
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B36DB

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

Preview Lab → · Contrast checker → · Palette generator →

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