#9D37BA#9D37BA

#9D37BA is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.207 H 317.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9D37BA
RGBrgb(157, 55, 186)
HSLhsl(287, 54%, 47%)
HSVhsv(287, 70%, 73%)
CMYKcmyk(15.6%, 70.4%, 0%, 27.1%)
CIE-LABlab(43.43, 60.45, -49.51)
CIE-LCHlch(43.43, 78.14, 320.68°)
OKLaboklab(53.88% 0.1531 -0.139)
OKLCHoklch(53.88% 0.207 317.8)
XYZxyz(24.1325, 13.4467, 47.7691)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D37BA #54BA37
analogous
#5C37BA #9D37BA #BA3795
triadic
#9D37BA #BA9D37 #37BA9D
tetradic
#9D37BA #BA5C37 #54BA37 #3795BA
square
#9D37BA #BA5C37 #54BA37 #3795BA
split-complementary
#9D37BA #95BA37 #37BA5C
monochromatic
#4D1B5C #75298B #9D37BA #B75FD0 #CC8EDE

Accessibility & contrast

On white

5.69
#9D37BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9D37BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D37BA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D37BA#FFFFFF#000000##FFFFFF
##9D37BA1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#3C6AB7
Tritanopia (blue-blind)
#9C5175
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d37ba;
/* rgb */ color: rgb(157, 55, 186);
/* oklch */ color: oklch(53.9% 0.207 317.8);
Tailwind
colors: {
  custom: {
    50: '#be77cf',
    500: '#9d37ba',
    950: '#000000',
  },
}
SCSS
$custom: #9d37ba;
$custom-light: #be77cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d37ba",
  "rgb": {
    "r": 157,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 286.718,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53884,
    "c": 0.2068,
    "h": 317.8
  },
  "luminance": 0.13446
}

Semantic roles & 50–950 ramp

primary
#9D37BA
secondary
#94C885
accent
#DE4A6B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D37BA

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

Preview Lab → · Contrast checker → · Palette generator →

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