#9E37BA#9E37BA

#9E37BA is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.0% C 0.207 H 318.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9E37BA
RGBrgb(158, 55, 186)
HSLhsl(287, 54%, 47%)
HSVhsv(287, 70%, 73%)
CMYKcmyk(15.1%, 70.4%, 0%, 27.1%)
CIE-LABlab(43.58, 60.67, -49.26)
CIE-LCHlch(43.58, 78.15, 320.92°)
OKLaboklab(54.02% 0.1543 -0.1382)
OKLCHoklch(54.02% 0.207 318.1)
XYZxyz(24.3284, 13.5477, 47.7783)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E37BA #53BA37
analogous
#5D37BA #9E37BA #BA3794
triadic
#9E37BA #BA9E37 #37BA9E
tetradic
#9E37BA #BA5D37 #53BA37 #3794BA
square
#9E37BA #BA5D37 #53BA37 #3794BA
split-complementary
#9E37BA #94BA37 #37BA5D
monochromatic
#4E1B5C #76298B #9E37BA #B75FD0 #CD8EDE

Accessibility & contrast

On white

5.66
#9E37BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9E37BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E37BA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E37BA#FFFFFF#000000##FFFFFF
##9E37BA1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#3D6AB7
Tritanopia (blue-blind)
#9D5075
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9e37ba;
/* rgb */ color: rgb(158, 55, 186);
/* oklch */ color: oklch(54.0% 0.207 318.1);
Tailwind
colors: {
  custom: {
    50: '#be77cf',
    500: '#9e37ba',
    950: '#000000',
  },
}
SCSS
$custom: #9e37ba;
$custom-light: #be77cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e37ba",
  "rgb": {
    "r": 158,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 287.176,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5402,
    "c": 0.2072,
    "h": 318.1
  },
  "luminance": 0.13547
}

Semantic roles & 50–950 ramp

primary
#9E37BA
secondary
#93C885
accent
#DE4A6A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E37BA

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

Preview Lab → · Contrast checker → · Palette generator →

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