#9E37BB#9E37BB

#9E37BB is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.1% C 0.208 H 317.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9E37BB
RGBrgb(158, 55, 187)
HSLhsl(287, 55%, 47%)
HSVhsv(287, 71%, 73%)
CMYKcmyk(15.5%, 70.6%, 0%, 26.7%)
CIE-LABlab(43.64, 60.86, -49.75)
CIE-LCHlch(43.64, 78.60, 320.74°)
OKLaboklab(54.09% 0.1543 -0.1397)
OKLCHoklch(54.09% 0.208 317.8)
XYZxyz(24.4351, 13.5904, 48.3402)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E37BB #54BB37
analogous
#5C37BB #9E37BB #BB3796
triadic
#9E37BB #BB9E37 #37BB9E
tetradic
#9E37BB #BB5C37 #54BB37 #3796BB
square
#9E37BB #BB5C37 #54BB37 #3796BB
split-complementary
#9E37BB #96BB37 #37BB5C
monochromatic
#4E1B5C #76298C #9E37BB #B75FD0 #CC8EDE

Accessibility & contrast

On white

5.65
#9E37BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9E37BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E37BB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E37BB#FFFFFF#000000##FFFFFF
##9E37BB1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#3C6AB8
Tritanopia (blue-blind)
#9D5175
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9e37bb;
/* rgb */ color: rgb(158, 55, 187);
/* oklch */ color: oklch(54.1% 0.208 317.8);
Tailwind
colors: {
  custom: {
    50: '#be77d0',
    500: '#9e37bb',
    950: '#000000',
  },
}
SCSS
$custom: #9e37bb;
$custom-light: #be77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e37bb",
  "rgb": {
    "r": 158,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 286.818,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54085,
    "c": 0.2081,
    "h": 317.8
  },
  "luminance": 0.13589
}

Semantic roles & 50–950 ramp

primary
#9E37BB
secondary
#94C985
accent
#DE4A6A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E37BB

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

Preview Lab → · Contrast checker → · Palette generator →

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