#9E39BD#9E39BD

#9E39BD is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.4% C 0.207 H 317.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9E39BD
RGBrgb(158, 57, 189)
HSLhsl(286, 54%, 48%)
HSVhsv(286, 70%, 74%)
CMYKcmyk(16.4%, 69.8%, 0%, 25.9%)
CIE-LABlab(44.05, 60.46, -50.26)
CIE-LCHlch(44.05, 78.62, 320.26°)
OKLaboklab(54.42% 0.1521 -0.1412)
OKLCHoklch(54.42% 0.207 317.1)
XYZxyz(24.7476, 13.8705, 49.5079)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E39BD #58BD39
analogous
#5C39BD #9E39BD #BD399A
triadic
#9E39BD #BD9E39 #39BD9E
tetradic
#9E39BD #BD5C39 #58BD39 #399ABD
square
#9E39BD #BD5C39 #58BD39 #399ABD
split-complementary
#9E39BD #9ABD39 #39BD5C
monochromatic
#4F1D5F #772B8E #9E39BD #B663D0 #CC92DE

Accessibility & contrast

On white

5.56
#9E39BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9E39BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E39BD
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E39BD#FFFFFF#000000##FFFFFF
##9E39BD1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#3C6BBA
Tritanopia (blue-blind)
#9D5377
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9e39bd;
/* rgb */ color: rgb(158, 57, 189);
/* oklch */ color: oklch(54.4% 0.207 317.1);
Tailwind
colors: {
  custom: {
    50: '#be78d1',
    500: '#9e39bd',
    950: '#000000',
  },
}
SCSS
$custom: #9e39bd;
$custom-light: #be78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e39bd",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 285.909,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54415,
    "c": 0.20749,
    "h": 317.1
  },
  "luminance": 0.13869
}

Semantic roles & 50–950 ramp

primary
#9E39BD
secondary
#98C989
accent
#DD4B6D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E39BD

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

Preview Lab → · Contrast checker → · Palette generator →

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