#9B37BD#9B37BD

#9B37BD is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.8% C 0.209 H 316.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9B37BD
RGBrgb(155, 55, 189)
HSLhsl(285, 55%, 48%)
HSVhsv(285, 71%, 74%)
CMYKcmyk(18%, 70.9%, 0%, 25.9%)
CIE-LABlab(43.32, 60.62, -51.45)
CIE-LCHlch(43.32, 79.51, 319.68°)
OKLaboklab(53.81% 0.1504 -0.1447)
OKLCHoklch(53.81% 0.209 316.1)
XYZxyz(24.0676, 13.3760, 49.4483)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B37BD #59BD37
analogous
#5837BD #9B37BD #BD379C
triadic
#9B37BD #BD9B37 #37BD9B
tetradic
#9B37BD #BD5837 #59BD37 #379CBD
square
#9B37BD #BD5837 #59BD37 #379CBD
split-complementary
#9B37BD #9CBD37 #37BD58
monochromatic
#4D1B5E #74298E #9B37BD #B460D1 #CB90DF

Accessibility & contrast

On white

5.71
#9B37BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9B37BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B37BD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B37BD#FFFFFF#000000##FFFFFF
##9B37BD1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#3669BA
Tritanopia (blue-blind)
#995276
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9b37bd;
/* rgb */ color: rgb(155, 55, 189);
/* oklch */ color: oklch(53.8% 0.209 316.1);
Tailwind
colors: {
  custom: {
    50: '#bc77d2',
    500: '#9b37bd',
    950: '#000000',
  },
}
SCSS
$custom: #9b37bd;
$custom-light: #bc77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b37bd",
  "rgb": {
    "r": 155,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 284.776,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5381,
    "c": 0.20875,
    "h": 316.1
  },
  "luminance": 0.13375
}

Semantic roles & 50–950 ramp

primary
#9B37BD
secondary
#97C986
accent
#DE4A6F
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9B37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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