#9B36D8#9B36D8

#9B36D8 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.6% C 0.235 H 308.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9B36D8
RGBrgb(155, 54, 216)
HSLhsl(277, 68%, 53%)
HSVhsv(277, 75%, 85%)
CMYKcmyk(28.2%, 75%, 0%, 15.3%)
CIE-LABlab(45.03, 66.54, -64.31)
CIE-LCHlch(45.03, 92.54, 315.97°)
OKLaboklab(55.61% 0.1475 -0.1825)
OKLCHoklch(55.61% 0.235 308.9)
XYZxyz(27.2289, 14.5653, 66.3294)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B36D8 #73D836
analogous
#4A36D8 #9B36D8 #D836C4
triadic
#9B36D8 #D89B36 #36D89B
tetradic
#9B36D8 #D84A36 #73D836 #36C4D8
square
#9B36D8 #D84A36 #73D836 #36C4D8
split-complementary
#9B36D8 #C4D836 #36D84A
monochromatic
#56187C #7A22AF #9B36D8 #B469E2 #CE9DEC

Accessibility & contrast

On white

5.37
#9B36D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9B36D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B36D8
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B36D8#FFFFFF#000000##FFFFFF
##9B36D81.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#006CD5
Tritanopia (blue-blind)
#925D85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b36d8;
/* rgb */ color: rgb(155, 54, 216);
/* oklch */ color: oklch(55.6% 0.235 308.9);
Tailwind
colors: {
  custom: {
    50: '#be77e5',
    500: '#9b36d8',
    950: '#000000',
  },
}
SCSS
$custom: #9b36d8;
$custom-light: #be77e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b36d8",
  "rgb": {
    "r": 155,
    "g": 54,
    "b": 216
  },
  "hsl": {
    "h": 277.407,
    "s": 67.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55605,
    "c": 0.23466,
    "h": 308.9
  },
  "luminance": 0.14565
}

Semantic roles & 50–950 ramp

primary
#9B36D8
secondary
#ACD892
accent
#EA3D7F
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9B36D8

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

Preview Lab → · Contrast checker → · Palette generator →

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