#9E37AC#9E37AC

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

Color values

HEX#9E37AC
RGBrgb(158, 55, 172)
HSLhsl(293, 52%, 45%)
HSVhsv(293, 68%, 67%)
CMYKcmyk(8.1%, 68%, 0%, 32.5%)
CIE-LABlab(42.74, 58.01, -42.35)
CIE-LCHlch(42.74, 71.83, 323.87°)
OKLaboklab(53.15% 0.1549 -0.118)
OKLCHoklch(53.15% 0.195 322.7)
XYZxyz(22.9124, 12.9813, 40.3205)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E37AC #45AC37
analogous
#6437AC #9E37AC #AC377F
triadic
#9E37AC #AC9E37 #37AC9E
tetradic
#9E37AC #AC6437 #45AC37 #377FAC
square
#9E37AC #AC6437 #45AC37 #377FAC
split-complementary
#9E37AC #7FAC37 #37AC64
monochromatic
#49194F #73287E #9E37AC #BC57C9 #CE85D8

Accessibility & contrast

On white

5.84
#9E37AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E37AC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E37AC#FFFFFF#000000##FFFFFF
##9E37AC1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165DAF
Deuteranopia (green-blind)
#4869A9
Tritanopia (blue-blind)
#A04B6D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e37ac;
/* rgb */ color: rgb(158, 55, 172);
/* oklch */ color: oklch(53.1% 0.195 322.7);
Tailwind
colors: {
  custom: {
    50: '#be76c5',
    500: '#9e37ac',
    950: '#000000',
  },
}
SCSS
$custom: #9e37ac;
$custom-light: #be76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e37ac",
  "rgb": {
    "r": 158,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 292.821,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53146,
    "c": 0.19478,
    "h": 322.7
  },
  "luminance": 0.1298
}

Semantic roles & 50–950 ramp

primary
#9E37AC
secondary
#85C27D
accent
#DB4D5E
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9E37AC

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

Preview Lab → · Contrast checker → · Palette generator →

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