#9C36DB#9C36DB

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

Color values

HEX#9C36DB
RGBrgb(156, 54, 219)
HSLhsl(277, 70%, 54%)
HSVhsv(277, 75%, 86%)
CMYKcmyk(28.8%, 75.3%, 0%, 14.1%)
CIE-LABlab(45.39, 67.35, -65.45)
CIE-LCHlch(45.39, 93.91, 315.82°)
OKLaboklab(55.95% 0.1482 -0.1858)
OKLCHoklch(55.95% 0.238 308.6)
XYZxyz(27.8130, 14.8212, 68.3997)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C36DB #75DB36
analogous
#4936DB #9C36DB #DB36C7
triadic
#9C36DB #DB9C36 #36DB9C
tetradic
#9C36DB #DB4936 #75DB36 #36C7DB
square
#9C36DB #DB4936 #75DB36 #36C7DB
split-complementary
#9C36DB #C7DB36 #36DB49
monochromatic
#581780 #7B20B4 #9C36DB #B66AE4 #CF9EEE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C36DB#FFFFFF#000000##FFFFFF
##9C36DB1.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)
#0068E0
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#925E87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9c36db;
/* rgb */ color: rgb(156, 54, 219);
/* oklch */ color: oklch(56.0% 0.238 308.6);
Tailwind
colors: {
  custom: {
    50: '#bf78e7',
    500: '#9c36db',
    950: '#000000',
  },
}
SCSS
$custom: #9c36db;
$custom-light: #bf78e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c36db",
  "rgb": {
    "r": 156,
    "g": 54,
    "b": 219
  },
  "hsl": {
    "h": 277.091,
    "s": 69.62,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55952,
    "c": 0.23769,
    "h": 308.6
  },
  "luminance": 0.14821
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C36DB

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

Preview Lab → · Contrast checker → · Palette generator →

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