#9E39BA#9E39BA

#9E39BA is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.2% C 0.205 H 318.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9E39BA
RGBrgb(158, 57, 186)
HSLhsl(287, 53%, 48%)
HSVhsv(287, 69%, 73%)
CMYKcmyk(15.1%, 69.4%, 0%, 27.1%)
CIE-LABlab(43.86, 59.87, -48.81)
CIE-LCHlch(43.86, 77.24, 320.81°)
OKLaboklab(54.22% 0.1523 -0.1369)
OKLCHoklch(54.22% 0.205 318)
XYZxyz(24.4254, 13.7416, 47.8106)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E39BA #55BA39
analogous
#5E39BA #9E39BA #BA3995
triadic
#9E39BA #BA9E39 #39BA9E
tetradic
#9E39BA #BA5E39 #55BA39 #3995BA
square
#9E39BA #BA5E39 #55BA39 #3995BA
split-complementary
#9E39BA #95BA39 #39BA5E
monochromatic
#4E1C5C #762B8B #9E39BA #B761CF #CC90DD

Accessibility & contrast

On white

5.60
#9E39BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9E39BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E39BA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E39BA#FFFFFF#000000##FFFFFF
##9E39BA1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#3E6BB7
Tritanopia (blue-blind)
#9D5275
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9e39ba;
/* rgb */ color: rgb(158, 57, 186);
/* oklch */ color: oklch(54.2% 0.205 318.0);
Tailwind
colors: {
  custom: {
    50: '#be78cf',
    500: '#9e39ba',
    950: '#000000',
  },
}
SCSS
$custom: #9e39ba;
$custom-light: #be78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e39ba",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 286.977,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54222,
    "c": 0.20478,
    "h": 318
  },
  "luminance": 0.13741
}

Semantic roles & 50–950 ramp

primary
#9E39BA
secondary
#95C887
accent
#DC4B6B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E39BA

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

Preview Lab → · Contrast checker → · Palette generator →

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