#9E39B7#9E39B7

#9E39B7 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.0% C 0.202 H 319.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9E39B7
RGBrgb(158, 57, 183)
HSLhsl(288, 53%, 47%)
HSVhsv(288, 69%, 72%)
CMYKcmyk(13.7%, 68.9%, 0%, 28.2%)
CIE-LABlab(43.68, 59.29, -47.34)
CIE-LCHlch(43.68, 75.87, 321.39°)
OKLaboklab(54.03% 0.1524 -0.1326)
OKLCHoklch(54.03% 0.202 319)
XYZxyz(24.1098, 13.6154, 46.1486)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E39B7 #52B739
analogous
#5F39B7 #9E39B7 #B73991
triadic
#9E39B7 #B79E39 #39B79E
tetradic
#9E39B7 #B75F39 #52B739 #3991B7
square
#9E39B7 #B75F39 #52B739 #3991B7
split-complementary
#9E39B7 #91B739 #39B75F
monochromatic
#4D1C5A #762A88 #9E39B7 #B860CD #CD8EDC

Accessibility & contrast

On white

5.64
#9E39B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E39B7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E39B7#FFFFFF#000000##FFFFFF
##9E39B71.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#416BB4
Tritanopia (blue-blind)
#9E5074
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9e39b7;
/* rgb */ color: rgb(158, 57, 183);
/* oklch */ color: oklch(54.0% 0.202 319.0);
Tailwind
colors: {
  custom: {
    50: '#be78cd',
    500: '#9e39b7',
    950: '#000000',
  },
}
SCSS
$custom: #9e39b7;
$custom-light: #be78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e39b7",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 288.095,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54032,
    "c": 0.20205,
    "h": 319
  },
  "luminance": 0.13614
}

Semantic roles & 50–950 ramp

primary
#9E39B7
secondary
#92C785
accent
#DC4C68
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9E39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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