#9E37B2#9E37B2

#9E37B2 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.5% C 0.200 H 320.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9E37B2
RGBrgb(158, 55, 178)
HSLhsl(290, 53%, 46%)
HSVhsv(290, 69%, 70%)
CMYKcmyk(11.2%, 69.1%, 0%, 30.2%)
CIE-LABlab(43.09, 59.14, -45.34)
CIE-LCHlch(43.09, 74.52, 322.52°)
OKLaboklab(53.51% 0.1548 -0.1268)
OKLCHoklch(53.51% 0.2 320.7)
XYZxyz(23.5017, 13.2170, 43.4241)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E37B2 #4BB237
analogous
#6037B2 #9E37B2 #B23788
triadic
#9E37B2 #B29E37 #37B29E
tetradic
#9E37B2 #B26037 #4BB237 #3788B2
square
#9E37B2 #B26037 #4BB237 #3788B2
split-complementary
#9E37B2 #88B237 #37B260
monochromatic
#4B1A54 #742983 #9E37B2 #BA5ACC #CD89DB

Accessibility & contrast

On white

5.76
#9E37B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9E37B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E37B2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E37B2#FFFFFF#000000##FFFFFF
##9E37B21.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045FB6
Deuteranopia (green-blind)
#4469AF
Tritanopia (blue-blind)
#9F4D70
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9e37b2;
/* rgb */ color: rgb(158, 55, 178);
/* oklch */ color: oklch(53.5% 0.200 320.7);
Tailwind
colors: {
  custom: {
    50: '#be77ca',
    500: '#9e37b2',
    950: '#000000',
  },
}
SCSS
$custom: #9e37b2;
$custom-light: #be77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9e37b2",
  "rgb": {
    "r": 158,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 290.244,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53513,
    "c": 0.20007,
    "h": 320.7
  },
  "luminance": 0.13216
}

Semantic roles & 50–950 ramp

primary
#9E37B2
secondary
#8BC580
accent
#DC4C63
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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