#9D37B7#9D37B7

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

Color values

HEX#9D37B7
RGBrgb(157, 55, 183)
HSLhsl(288, 54%, 47%)
HSVhsv(288, 70%, 72%)
CMYKcmyk(14.2%, 69.9%, 0%, 28.2%)
CIE-LABlab(43.24, 59.87, -48.05)
CIE-LCHlch(43.24, 76.76, 321.25°)
OKLaboklab(53.69% 0.1533 -0.1347)
OKLCHoklch(53.69% 0.204 318.7)
XYZxyz(23.8169, 13.3205, 46.1071)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D37B7 #51B737
analogous
#5D37B7 #9D37B7 #B73791
triadic
#9D37B7 #B79D37 #37B79D
tetradic
#9D37B7 #B75D37 #51B737 #3791B7
square
#9D37B7 #B75D37 #51B737 #3791B7
split-complementary
#9D37B7 #91B737 #37B75D
monochromatic
#4C1B59 #752988 #9D37B7 #B75DCE #CC8CDC

Accessibility & contrast

On white

5.73
#9D37B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D37B7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D37B7#FFFFFF#000000##FFFFFF
##9D37B71.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#3E69B4
Tritanopia (blue-blind)
#9D4F73
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d37b7;
/* rgb */ color: rgb(157, 55, 183);
/* oklch */ color: oklch(53.7% 0.204 318.7);
Tailwind
colors: {
  custom: {
    50: '#be77cd',
    500: '#9d37b7',
    950: '#000000',
  },
}
SCSS
$custom: #9d37b7;
$custom-light: #be77cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d37b7",
  "rgb": {
    "r": 157,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 287.813,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53691,
    "c": 0.2041,
    "h": 318.7
  },
  "luminance": 0.13319
}

Semantic roles & 50–950 ramp

primary
#9D37B7
secondary
#91C783
accent
#DD4B68
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9D37B7

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

Preview Lab → · Contrast checker → · Palette generator →

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