#9B37BB#9B37BB

#9B37BB is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.7% C 0.207 H 316.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9B37BB
RGBrgb(155, 55, 187)
HSLhsl(285, 55%, 47%)
HSVhsv(285, 71%, 73%)
CMYKcmyk(17.1%, 70.6%, 0%, 26.7%)
CIE-LABlab(43.20, 60.22, -50.48)
CIE-LCHlch(43.20, 78.58, 320.03°)
OKLaboklab(53.68% 0.1506 -0.1419)
OKLCHoklch(53.68% 0.207 316.7)
XYZxyz(23.8520, 13.2898, 48.3128)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B37BB #57BB37
analogous
#5937BB #9B37BB #BB3799
triadic
#9B37BB #BB9B37 #37BB9B
tetradic
#9B37BB #BB5937 #57BB37 #3799BB
square
#9B37BB #BB5937 #57BB37 #3799BB
split-complementary
#9B37BB #99BB37 #37BB59
monochromatic
#4D1B5C #74298C #9B37BB #B55FD0 #CB8EDE

Accessibility & contrast

On white

5.74
#9B37BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9B37BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B37BB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B37BB#FFFFFF#000000##FFFFFF
##9B37BB1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#3869B8
Tritanopia (blue-blind)
#995175
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9b37bb;
/* rgb */ color: rgb(155, 55, 187);
/* oklch */ color: oklch(53.7% 0.207 316.7);
Tailwind
colors: {
  custom: {
    50: '#bc77d0',
    500: '#9b37bb',
    950: '#000000',
  },
}
SCSS
$custom: #9b37bb;
$custom-light: #bc77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b37bb",
  "rgb": {
    "r": 155,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 285.455,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53678,
    "c": 0.20693,
    "h": 316.7
  },
  "luminance": 0.13289
}

Semantic roles & 50–950 ramp

primary
#9B37BB
secondary
#96C985
accent
#DE4A6E
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9B37BB

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

Preview Lab → · Contrast checker → · Palette generator →

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