#9A36DB#9A36DB

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

Color values

HEX#9A36DB
RGBrgb(154, 54, 219)
HSLhsl(276, 70%, 54%)
HSVhsv(276, 75%, 86%)
CMYKcmyk(29.7%, 75.3%, 0%, 14.1%)
CIE-LABlab(45.11, 66.99, -65.90)
CIE-LCHlch(45.11, 93.98, 315.47°)
OKLaboklab(55.7% 0.1456 -0.1872)
OKLCHoklch(55.7% 0.237 307.9)
XYZxyz(27.4291, 14.6232, 68.3817)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A36DB #77DB36
analogous
#4736DB #9A36DB #DB36C9
triadic
#9A36DB #DB9A36 #36DB9A
tetradic
#9A36DB #DB4736 #77DB36 #36C9DB
square
#9A36DB #DB4736 #77DB36 #36C9DB
split-complementary
#9A36DB #C9DB36 #36DB47
monochromatic
#561780 #7A20B4 #9A36DB #B46AE4 #CE9EEE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A36DB#FFFFFF#000000##FFFFFF
##9A36DB1.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)
#0067E0
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#8F5F87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9a36db;
/* rgb */ color: rgb(154, 54, 219);
/* oklch */ color: oklch(55.7% 0.237 307.9);
Tailwind
colors: {
  custom: {
    50: '#bd77e7',
    500: '#9a36db',
    950: '#000000',
  },
}
SCSS
$custom: #9a36db;
$custom-light: #bd77e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a36db",
  "rgb": {
    "r": 154,
    "g": 54,
    "b": 219
  },
  "hsl": {
    "h": 276.364,
    "s": 69.62,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55701,
    "c": 0.23718,
    "h": 307.9
  },
  "luminance": 0.14623
}

Semantic roles & 50–950 ramp

primary
#9A36DB
secondary
#AFDA93
accent
#EC3B81
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9A36DB

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

Preview Lab → · Contrast checker → · Palette generator →

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