#9E37D1#9E37D1

#9E37D1 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.228 H 311.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9E37D1
RGBrgb(158, 55, 209)
HSLhsl(280, 63%, 52%)
HSVhsv(280, 74%, 82%)
CMYKcmyk(24.4%, 73.7%, 0%, 18%)
CIE-LABlab(45.09, 65.26, -60.18)
CIE-LCHlch(45.09, 88.77, 317.32°)
OKLaboklab(55.58% 0.1517 -0.1703)
OKLCHoklch(55.58% 0.228 311.7)
XYZxyz(26.9732, 14.6056, 61.7075)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E37D1 #6AD137
analogous
#5137D1 #9E37D1 #D137B7
triadic
#9E37D1 #D19E37 #37D19E
tetradic
#9E37D1 #D15137 #6AD137 #37B7D1
square
#9E37D1 #D15137 #6AD137 #37B7D1
split-complementary
#9E37D1 #B7D137 #37D151
monochromatic
#561A73 #7B26A5 #9E37D1 #B669DC #CE9BE8

Accessibility & contrast

On white

5.36
#9E37D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9E37D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E37D1
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E37D1#FFFFFF#000000##FFFFFF
##9E37D11.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#1E6DCE
Tritanopia (blue-blind)
#985A82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9e37d1;
/* rgb */ color: rgb(158, 55, 209);
/* oklch */ color: oklch(55.6% 0.228 311.7);
Tailwind
colors: {
  custom: {
    50: '#bf78e0',
    500: '#9e37d1',
    950: '#000000',
  },
}
SCSS
$custom: #9e37d1;
$custom-light: #bf78e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e37d1",
  "rgb": {
    "r": 158,
    "g": 55,
    "b": 209
  },
  "hsl": {
    "h": 280.13,
    "s": 62.602,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55576,
    "c": 0.22805,
    "h": 311.7
  },
  "luminance": 0.14605
}

Semantic roles & 50–950 ramp

primary
#9E37D1
secondary
#A6D490
accent
#E64278
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E37D1

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

Preview Lab → · Contrast checker → · Palette generator →

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