#9A36DD#9A36DD

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

Color values

HEX#9A36DD
RGBrgb(154, 54, 221)
HSLhsl(276, 71%, 54%)
HSVhsv(276, 76%, 87%)
CMYKcmyk(30.3%, 75.6%, 0%, 13.3%)
CIE-LABlab(45.26, 67.42, -66.81)
CIE-LCHlch(45.26, 94.91, 315.26°)
OKLaboklab(55.85% 0.1452 -0.1899)
OKLCHoklch(55.85% 0.239 307.4)
XYZxyz(27.6940, 14.7292, 69.7767)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A36DD #79DD36
analogous
#4736DD #9A36DD #DD36CD
triadic
#9A36DD #DD9A36 #36DD9A
tetradic
#9A36DD #DD4736 #79DD36 #36CDDD
square
#9A36DD #DD4736 #79DD36 #36CDDD
split-complementary
#9A36DD #CDDD36 #36DD47
monochromatic
#571683 #7A1FB7 #9A36DD #B46AE6 #CF9FEF

Accessibility & contrast

On white

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

On black

3.95
#9A36DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9A36DD#FFFFFF#000000##FFFFFF
##9A36DD1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#8F6088
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9a36dd;
/* rgb */ color: rgb(154, 54, 221);
/* oklch */ color: oklch(55.9% 0.239 307.4);
Tailwind
colors: {
  custom: {
    50: '#bd77e9',
    500: '#9a36dd',
    950: '#000000',
  },
}
SCSS
$custom: #9a36dd;
$custom-light: #bd77e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a36dd",
  "rgb": {
    "r": 154,
    "g": 54,
    "b": 221
  },
  "hsl": {
    "h": 275.928,
    "s": 71.064,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55851,
    "c": 0.23903,
    "h": 307.4
  },
  "luminance": 0.14729
}

Semantic roles & 50–950 ramp

primary
#9A36DD
secondary
#B0DB94
accent
#EE3A82
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9A36DD

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

Preview Lab → · Contrast checker → · Palette generator →

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