#9B37BA#9B37BA

#9B37BA is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.6% C 0.206 H 317.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9B37BA
RGBrgb(155, 55, 186)
HSLhsl(286, 54%, 47%)
HSVhsv(286, 70%, 73%)
CMYKcmyk(16.7%, 70.4%, 0%, 27.1%)
CIE-LABlab(43.13, 60.02, -50.00)
CIE-LCHlch(43.13, 78.12, 320.21°)
OKLaboklab(53.61% 0.1507 -0.1405)
OKLCHoklch(53.61% 0.206 317)
XYZxyz(23.7454, 13.2471, 47.7510)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B37BA #56BA37
analogous
#5A37BA #9B37BA #BA3797
triadic
#9B37BA #BA9B37 #37BA9B
tetradic
#9B37BA #BA5A37 #56BA37 #3797BA
square
#9B37BA #BA5A37 #56BA37 #3797BA
split-complementary
#9B37BA #97BA37 #37BA5A
monochromatic
#4C1B5C #74298B #9B37BA #B55FD0 #CB8EDE

Accessibility & contrast

On white

5.75
#9B37BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9B37BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B37BA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B37BA#FFFFFF#000000##FFFFFF
##9B37BA1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#3969B7
Tritanopia (blue-blind)
#995175
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9b37ba;
/* rgb */ color: rgb(155, 55, 186);
/* oklch */ color: oklch(53.6% 0.206 317.0);
Tailwind
colors: {
  custom: {
    50: '#bc77cf',
    500: '#9b37ba',
    950: '#000000',
  },
}
SCSS
$custom: #9b37ba;
$custom-light: #bc77cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b37ba",
  "rgb": {
    "r": 155,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 285.802,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53613,
    "c": 0.20601,
    "h": 317
  },
  "luminance": 0.13246
}

Semantic roles & 50–950 ramp

primary
#9B37BA
secondary
#95C885
accent
#DE4A6D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9B37BA

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

Preview Lab → · Contrast checker → · Palette generator →

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