#9E37C5#9E37C5

#9E37C5 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.7% C 0.217 H 314.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9E37C5
RGBrgb(158, 55, 197)
HSLhsl(284, 56%, 49%)
HSVhsv(284, 72%, 77%)
CMYKcmyk(19.8%, 72.1%, 0%, 22.7%)
CIE-LABlab(44.28, 62.83, -54.55)
CIE-LCHlch(44.28, 83.21, 319.04°)
OKLaboklab(54.75% 0.1533 -0.1537)
OKLCHoklch(54.75% 0.217 314.9)
XYZxyz(25.5431, 14.0336, 54.1757)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E37C5 #5EC537
analogous
#5737C5 #9E37C5 #C537A5
triadic
#9E37C5 #C59E37 #37C59E
tetradic
#9E37C5 #C55737 #5EC537 #37A5C5
square
#9E37C5 #C55737 #5EC537 #37A5C5
split-complementary
#9E37C5 #A5C537 #37C557
monochromatic
#511C65 #782A95 #9E37C5 #B665D4 #CC95E1

Accessibility & contrast

On white

5.52
#9E37C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9E37C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E37C5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E37C5#FFFFFF#000000##FFFFFF
##9E37C51.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#316BC2
Tritanopia (blue-blind)
#9B557B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9e37c5;
/* rgb */ color: rgb(158, 55, 197);
/* oklch */ color: oklch(54.7% 0.217 314.9);
Tailwind
colors: {
  custom: {
    50: '#bf77d7',
    500: '#9e37c5',
    950: '#000000',
  },
}
SCSS
$custom: #9e37c5;
$custom-light: #bf77d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e37c5",
  "rgb": {
    "r": 158,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 283.521,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54746,
    "c": 0.21712,
    "h": 314.9
  },
  "luminance": 0.14033
}

Semantic roles & 50–950 ramp

primary
#9E37C5
secondary
#9DCD8B
accent
#E04872
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E37C5

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

Preview Lab → · Contrast checker → · Palette generator →

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