#9E39BE#9E39BE

#9E39BE is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.5% C 0.208 H 316.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9E39BE
RGBrgb(158, 57, 190)
HSLhsl(286, 54%, 48%)
HSVhsv(286, 70%, 75%)
CMYKcmyk(16.8%, 70%, 0%, 25.5%)
CIE-LABlab(44.11, 60.65, -50.75)
CIE-LCHlch(44.11, 79.08, 320.08°)
OKLaboklab(54.48% 0.152 -0.1426)
OKLCHoklch(54.48% 0.208 316.8)
XYZxyz(24.8566, 13.9141, 50.0816)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E39BE #59BE39
analogous
#5B39BE #9E39BE #BE399B
triadic
#9E39BE #BE9E39 #39BE9E
tetradic
#9E39BE #BE5B39 #59BE39 #399BBE
square
#9E39BE #BE5B39 #59BE39 #399BBE
split-complementary
#9E39BE #9BBE39 #39BE5B
monochromatic
#501D60 #772B8F #9E39BE #B664D0 #CC93DF

Accessibility & contrast

On white

5.55
#9E39BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9E39BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E39BE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E39BE#FFFFFF#000000##FFFFFF
##9E39BE1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#3B6BBB
Tritanopia (blue-blind)
#9C5378
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9e39be;
/* rgb */ color: rgb(158, 57, 190);
/* oklch */ color: oklch(54.5% 0.208 316.8);
Tailwind
colors: {
  custom: {
    50: '#be78d2',
    500: '#9e39be',
    950: '#000000',
  },
}
SCSS
$custom: #9e39be;
$custom-light: #be78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e39be",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 285.564,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5448,
    "c": 0.20841,
    "h": 316.8
  },
  "luminance": 0.13913
}

Semantic roles & 50–950 ramp

primary
#9E39BE
secondary
#99CA89
accent
#DD4B6E
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E39BE

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

Preview Lab → · Contrast checker → · Palette generator →

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