#9B36D3#9B36D3

#9B36D3 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.2% C 0.230 H 310.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9B36D3
RGBrgb(155, 54, 211)
HSLhsl(279, 64%, 52%)
HSVhsv(279, 74%, 83%)
CMYKcmyk(26.5%, 74.4%, 0%, 17.3%)
CIE-LABlab(44.68, 65.49, -62.02)
CIE-LCHlch(44.68, 90.20, 316.56°)
OKLaboklab(55.24% 0.1484 -0.1758)
OKLCHoklch(55.24% 0.23 310.2)
XYZxyz(26.5923, 14.3106, 62.9768)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B36D3 #6ED336
analogous
#4D36D3 #9B36D3 #D336BC
triadic
#9B36D3 #D39B36 #36D39B
tetradic
#9B36D3 #D34D36 #6ED336 #36BCD3
square
#9B36D3 #D34D36 #6ED336 #36BCD3
split-complementary
#9B36D3 #BCD336 #36D34D
monochromatic
#541A75 #7925A7 #9B36D3 #B468DE #CD9AE9

Accessibility & contrast

On white

5.44
#9B36D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9B36D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B36D3
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B36D3#FFFFFF#000000##FFFFFF
##9B36D31.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#0C6BD0
Tritanopia (blue-blind)
#935B82
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b36d3;
/* rgb */ color: rgb(155, 54, 211);
/* oklch */ color: oklch(55.2% 0.230 310.2);
Tailwind
colors: {
  custom: {
    50: '#be77e1',
    500: '#9b36d3',
    950: '#000000',
  },
}
SCSS
$custom: #9b36d3;
$custom-light: #be77e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b36d3",
  "rgb": {
    "r": 155,
    "g": 54,
    "b": 211
  },
  "hsl": {
    "h": 278.599,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5524,
    "c": 0.23007,
    "h": 310.2
  },
  "luminance": 0.1431
}

Semantic roles & 50–950 ramp

primary
#9B36D3
secondary
#A9D590
accent
#E7417C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B36D3

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

Preview Lab → · Contrast checker → · Palette generator →

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