#9E39B4#9E39B4

#9E39B4 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.8% C 0.199 H 319.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9E39B4
RGBrgb(158, 57, 180)
HSLhsl(289, 52%, 46%)
HSVhsv(289, 68%, 71%)
CMYKcmyk(12.2%, 68.3%, 0%, 29.4%)
CIE-LABlab(43.50, 58.71, -45.87)
CIE-LCHlch(43.50, 74.50, 322.00°)
OKLaboklab(53.84% 0.1526 -0.1283)
OKLCHoklch(53.84% 0.199 319.9)
XYZxyz(23.8009, 13.4918, 44.5217)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E39B4 #4FB439
analogous
#6139B4 #9E39B4 #B4398D
triadic
#9E39B4 #B49E39 #39B49E
tetradic
#9E39B4 #B46139 #4FB439 #398DB4
square
#9E39B4 #B46139 #4FB439 #398DB4
split-complementary
#9E39B4 #8DB439 #39B461
monochromatic
#4C1C57 #752A86 #9E39B4 #B85ECC #CD8DDB

Accessibility & contrast

On white

5.68
#9E39B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9E39B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E39B4
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E39B4#FFFFFF#000000##FFFFFF
##9E39B41.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0560B8
Deuteranopia (green-blind)
#436AB1
Tritanopia (blue-blind)
#9F4F72
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9e39b4;
/* rgb */ color: rgb(158, 57, 180);
/* oklch */ color: oklch(53.8% 0.199 319.9);
Tailwind
colors: {
  custom: {
    50: '#be78cb',
    500: '#9e39b4',
    950: '#000000',
  },
}
SCSS
$custom: #9e39b4;
$custom-light: #be78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e39b4",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 289.268,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53844,
    "c": 0.19935,
    "h": 319.9
  },
  "luminance": 0.13491
}

Semantic roles & 50–950 ramp

primary
#9E39B4
secondary
#8FC583
accent
#DB4C66
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E39B4

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

Preview Lab → · Contrast checker → · Palette generator →

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