#9E37AD#9E37AD

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

Color values

HEX#9E37AD
RGBrgb(158, 55, 173)
HSLhsl(292, 52%, 45%)
HSVhsv(292, 68%, 68%)
CMYKcmyk(8.7%, 68.2%, 0%, 32.2%)
CIE-LABlab(42.79, 58.20, -42.85)
CIE-LCHlch(42.79, 72.27, 323.63°)
OKLaboklab(53.21% 0.1549 -0.1195)
OKLCHoklch(53.21% 0.196 322.4)
XYZxyz(23.0088, 13.0199, 40.8282)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E37AD #46AD37
analogous
#6337AD #9E37AD #AD3781
triadic
#9E37AD #AD9E37 #37AD9E
tetradic
#9E37AD #AD6337 #46AD37 #3781AD
square
#9E37AD #AD6337 #46AD37 #3781AD
split-complementary
#9E37AD #81AD37 #37AD63
monochromatic
#491950 #74287F #9E37AD #BB57CA #CE86D8

Accessibility & contrast

On white

5.83
#9E37AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9E37AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E37AD
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E37AD#FFFFFF#000000##FFFFFF
##9E37AD1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135DB0
Deuteranopia (green-blind)
#4769AA
Tritanopia (blue-blind)
#A04B6E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e37ad;
/* rgb */ color: rgb(158, 55, 173);
/* oklch */ color: oklch(53.2% 0.196 322.4);
Tailwind
colors: {
  custom: {
    50: '#be76c6',
    500: '#9e37ad',
    950: '#000000',
  },
}
SCSS
$custom: #9e37ad;
$custom-light: #be76c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e37ad",
  "rgb": {
    "r": 158,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 292.373,
    "s": 51.754,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53207,
    "c": 0.19565,
    "h": 322.4
  },
  "luminance": 0.13019
}

Semantic roles & 50–950 ramp

primary
#9E37AD
secondary
#86C27D
accent
#DB4D5F
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E37AD

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

Preview Lab → · Contrast checker → · Palette generator →

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