#9B36D1#9B36D1

#9B36D1 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 55.1% C 0.228 H 310.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9B36D1
RGBrgb(155, 54, 209)
HSLhsl(279, 63%, 52%)
HSVhsv(279, 74%, 82%)
CMYKcmyk(25.8%, 74.2%, 0%, 18%)
CIE-LABlab(44.53, 65.07, -61.10)
CIE-LCHlch(44.53, 89.26, 316.80°)
OKLaboklab(55.1% 0.1488 -0.1731)
OKLCHoklch(55.1% 0.228 310.7)
XYZxyz(26.3431, 14.2110, 61.6645)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B36D1 #6CD136
analogous
#4E36D1 #9B36D1 #D136B9
triadic
#9B36D1 #D19B36 #36D19B
tetradic
#9B36D1 #D14E36 #6CD136 #36B9D1
square
#9B36D1 #D14E36 #6CD136 #36B9D1
split-complementary
#9B36D1 #B9D136 #36D14E
monochromatic
#541A72 #7826A4 #9B36D1 #B468DC #CD9AE8

Accessibility & contrast

On white

5.47
#9B36D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9B36D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B36D1
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B36D1#FFFFFF#000000##FFFFFF
##9B36D11.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#146BCE
Tritanopia (blue-blind)
#945A81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9b36d1;
/* rgb */ color: rgb(155, 54, 209);
/* oklch */ color: oklch(55.1% 0.228 310.7);
Tailwind
colors: {
  custom: {
    50: '#bd77e0',
    500: '#9b36d1',
    950: '#000000',
  },
}
SCSS
$custom: #9b36d1;
$custom-light: #bd77e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b36d1",
  "rgb": {
    "r": 155,
    "g": 54,
    "b": 209
  },
  "hsl": {
    "h": 279.097,
    "s": 62.753,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55096,
    "c": 0.22822,
    "h": 310.7
  },
  "luminance": 0.1421
}

Semantic roles & 50–950 ramp

primary
#9B36D1
secondary
#A7D38F
accent
#E6427B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B36D1

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

Preview Lab → · Contrast checker → · Palette generator →

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