#9D37AE#9D37AE

#9D37AE is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.1% C 0.196 H 321.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9D37AE
RGBrgb(157, 55, 174)
HSLhsl(291, 52%, 45%)
HSVhsv(291, 68%, 68%)
CMYKcmyk(9.8%, 68.4%, 0%, 31.8%)
CIE-LABlab(42.70, 58.16, -43.60)
CIE-LCHlch(42.70, 72.69, 323.14°)
OKLaboklab(53.13% 0.1537 -0.1217)
OKLCHoklch(53.13% 0.196 321.6)
XYZxyz(22.9100, 12.9577, 41.3305)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D37AE #48AE37
analogous
#6237AE #9D37AE #AE3783
triadic
#9D37AE #AE9D37 #37AE9D
tetradic
#9D37AE #AE6237 #48AE37 #3783AE
square
#9D37AE #AE6237 #48AE37 #3783AE
split-complementary
#9D37AE #83AE37 #37AE62
monochromatic
#491A51 #73287F #9D37AE #BA58CA #CD86D9

Accessibility & contrast

On white

5.85
#9D37AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9D37AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D37AE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D37AE#FFFFFF#000000##FFFFFF
##9D37AE1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5DB1
Deuteranopia (green-blind)
#4569AB
Tritanopia (blue-blind)
#9F4C6E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d37ae;
/* rgb */ color: rgb(157, 55, 174);
/* oklch */ color: oklch(53.1% 0.196 321.6);
Tailwind
colors: {
  custom: {
    50: '#bd76c7',
    500: '#9d37ae',
    950: '#000000',
  },
}
SCSS
$custom: #9d37ae;
$custom-light: #bd76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d37ae",
  "rgb": {
    "r": 157,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 291.429,
    "s": 51.965,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53127,
    "c": 0.19607,
    "h": 321.6
  },
  "luminance": 0.12956
}

Semantic roles & 50–950 ramp

primary
#9D37AE
secondary
#88C37E
accent
#DB4C61
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D37AE

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

Preview Lab → · Contrast checker → · Palette generator →

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