#9E37AF#9E37AF

#9E37AF is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.3% C 0.197 H 321.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9E37AF
RGBrgb(158, 55, 175)
HSLhsl(292, 52%, 45%)
HSVhsv(292, 69%, 69%)
CMYKcmyk(9.7%, 68.6%, 0%, 31.4%)
CIE-LABlab(42.91, 58.57, -43.85)
CIE-LCHlch(42.91, 73.17, 323.18°)
OKLaboklab(53.33% 0.1549 -0.1224)
OKLCHoklch(53.33% 0.197 321.7)
XYZxyz(23.2038, 13.0979, 41.8551)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E37AF #48AF37
analogous
#6237AF #9E37AF #AF3784
triadic
#9E37AF #AF9E37 #37AF9E
tetradic
#9E37AF #AF6237 #48AF37 #3784AF
square
#9E37AF #AF6237 #48AF37 #3784AF
split-complementary
#9E37AF #84AF37 #37AF62
monochromatic
#4A1A52 #742880 #9E37AF #BB59CB #CE87D9

Accessibility & contrast

On white

5.80
#9E37AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9E37AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E37AF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E37AF#FFFFFF#000000##FFFFFF
##9E37AF1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5EB2
Deuteranopia (green-blind)
#4669AC
Tritanopia (blue-blind)
#A04C6F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e37af;
/* rgb */ color: rgb(158, 55, 175);
/* oklch */ color: oklch(53.3% 0.197 321.7);
Tailwind
colors: {
  custom: {
    50: '#be76c7',
    500: '#9e37af',
    950: '#000000',
  },
}
SCSS
$custom: #9e37af;
$custom-light: #be76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e37af",
  "rgb": {
    "r": 158,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 291.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53328,
    "c": 0.19741,
    "h": 321.7
  },
  "luminance": 0.13097
}

Semantic roles & 50–950 ramp

primary
#9E37AF
secondary
#88C37F
accent
#DC4C61
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E37AF

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

Preview Lab → · Contrast checker → · Palette generator →

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