#9E39BB#9E39BB

#9E39BB is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.3% C 0.206 H 317.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9E39BB
RGBrgb(158, 57, 187)
HSLhsl(287, 53%, 48%)
HSVhsv(287, 70%, 73%)
CMYKcmyk(15.5%, 69.5%, 0%, 26.7%)
CIE-LABlab(43.92, 60.06, -49.29)
CIE-LCHlch(43.92, 77.70, 320.62°)
OKLaboklab(54.29% 0.1522 -0.1383)
OKLCHoklch(54.29% 0.206 317.7)
XYZxyz(24.5320, 13.7843, 48.3725)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E39BB #56BB39
analogous
#5D39BB #9E39BB #BB3997
triadic
#9E39BB #BB9E39 #39BB9E
tetradic
#9E39BB #BB5D39 #56BB39 #3997BB
square
#9E39BB #BB5D39 #56BB39 #3997BB
split-complementary
#9E39BB #97BB39 #39BB5D
monochromatic
#4F1C5D #762B8C #9E39BB #B762CF #CC91DD

Accessibility & contrast

On white

5.59
#9E39BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9E39BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E39BB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E39BB#FFFFFF#000000##FFFFFF
##9E39BB1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#3E6BB8
Tritanopia (blue-blind)
#9D5276
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9e39bb;
/* rgb */ color: rgb(158, 57, 187);
/* oklch */ color: oklch(54.3% 0.206 317.7);
Tailwind
colors: {
  custom: {
    50: '#be78d0',
    500: '#9e39bb',
    950: '#000000',
  },
}
SCSS
$custom: #9e39bb;
$custom-light: #be78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e39bb",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 286.615,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54286,
    "c": 0.20568,
    "h": 317.7
  },
  "luminance": 0.13783
}

Semantic roles & 50–950 ramp

primary
#9E39BB
secondary
#96C887
accent
#DD4B6C
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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