#9E39BC#9E39BC

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

Color values

HEX#9E39BC
RGBrgb(158, 57, 188)
HSLhsl(286, 53%, 48%)
HSVhsv(286, 70%, 74%)
CMYKcmyk(16%, 69.7%, 0%, 26.3%)
CIE-LABlab(43.98, 60.26, -49.78)
CIE-LCHlch(43.98, 78.16, 320.44°)
OKLaboklab(54.35% 0.1521 -0.1398)
OKLCHoklch(54.35% 0.207 317.4)
XYZxyz(24.6395, 13.8272, 48.9382)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E39BC #57BC39
analogous
#5D39BC #9E39BC #BC3998
triadic
#9E39BC #BC9E39 #39BC9E
tetradic
#9E39BC #BC5D39 #57BC39 #3998BC
square
#9E39BC #BC5D39 #57BC39 #3998BC
split-complementary
#9E39BC #98BC39 #39BC5D
monochromatic
#4F1D5E #772B8D #9E39BC #B763D0 #CC92DE

Accessibility & contrast

On white

5.58
#9E39BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E39BC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E39BC#FFFFFF#000000##FFFFFF
##9E39BC1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#3D6BB9
Tritanopia (blue-blind)
#9D5376
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9e39bc;
/* rgb */ color: rgb(158, 57, 188);
/* oklch */ color: oklch(54.4% 0.207 317.4);
Tailwind
colors: {
  custom: {
    50: '#be78d1',
    500: '#9e39bc',
    950: '#000000',
  },
}
SCSS
$custom: #9e39bc;
$custom-light: #be78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e39bc",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 286.26,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54351,
    "c": 0.20659,
    "h": 317.4
  },
  "luminance": 0.13826
}

Semantic roles & 50–950 ramp

primary
#9E39BC
secondary
#97C988
accent
#DD4B6C
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E39BC

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

Preview Lab → · Contrast checker → · Palette generator →

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