#9B36D7#9B36D7

#9B36D7 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.5% C 0.234 H 309.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9B36D7
RGBrgb(155, 54, 215)
HSLhsl(278, 67%, 53%)
HSVhsv(278, 75%, 84%)
CMYKcmyk(27.9%, 74.9%, 0%, 15.7%)
CIE-LABlab(44.96, 66.33, -63.86)
CIE-LCHlch(44.96, 92.07, 316.09°)
OKLaboklab(55.53% 0.1477 -0.1812)
OKLCHoklch(55.53% 0.234 309.2)
XYZxyz(27.1000, 14.5137, 65.6506)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B36D7 #72D736
analogous
#4B36D7 #9B36D7 #D736C2
triadic
#9B36D7 #D79B36 #36D79B
tetradic
#9B36D7 #D74B36 #72D736 #36C2D7
square
#9B36D7 #D74B36 #72D736 #36C2D7
split-complementary
#9B36D7 #C2D736 #36D74B
monochromatic
#56187A #7A22AD #9B36D7 #B469E1 #CE9CEB

Accessibility & contrast

On white

5.38
#9B36D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9B36D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B36D7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B36D7#FFFFFF#000000##FFFFFF
##9B36D71.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DB
Deuteranopia (green-blind)
#006CD4
Tritanopia (blue-blind)
#925D85
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b36d7;
/* rgb */ color: rgb(155, 54, 215);
/* oklch */ color: oklch(55.5% 0.234 309.2);
Tailwind
colors: {
  custom: {
    50: '#be77e4',
    500: '#9b36d7',
    950: '#000000',
  },
}
SCSS
$custom: #9b36d7;
$custom-light: #be77e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b36d7",
  "rgb": {
    "r": 155,
    "g": 54,
    "b": 215
  },
  "hsl": {
    "h": 277.64,
    "s": 66.805,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55531,
    "c": 0.23374,
    "h": 309.2
  },
  "luminance": 0.14513
}

Semantic roles & 50–950 ramp

primary
#9B36D7
secondary
#ACD792
accent
#EA3E7E
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9B36D7

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

Preview Lab → · Contrast checker → · Palette generator →

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