#9E39B2#9E39B2

#9E39B2 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.7% C 0.198 H 320.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9E39B2
RGBrgb(158, 57, 178)
HSLhsl(290, 51%, 46%)
HSVhsv(290, 68%, 70%)
CMYKcmyk(11.2%, 68%, 0%, 30.2%)
CIE-LABlab(43.38, 58.33, -44.88)
CIE-LCHlch(43.38, 73.59, 322.42°)
OKLaboklab(53.72% 0.1526 -0.1254)
OKLCHoklch(53.72% 0.198 320.6)
XYZxyz(23.5986, 13.4109, 43.4564)
Luminance0.1341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E39B2 #4DB239
analogous
#6139B2 #9E39B2 #B23989
triadic
#9E39B2 #B29E39 #39B29E
tetradic
#9E39B2 #B26139 #4DB239 #3989B2
square
#9E39B2 #B26139 #4DB239 #3989B2
split-complementary
#9E39B2 #89B239 #39B261
monochromatic
#4C1B55 #752A84 #9E39B2 #B95DCB #CD8BDA

Accessibility & contrast

On white

5.70
#9E39B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9E39B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E39B2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E39B2#FFFFFF#000000##FFFFFF
##9E39B21.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5FB6
Deuteranopia (green-blind)
#456AAF
Tritanopia (blue-blind)
#9F4E71
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9e39b2;
/* rgb */ color: rgb(158, 57, 178);
/* oklch */ color: oklch(53.7% 0.198 320.6);
Tailwind
colors: {
  custom: {
    50: '#be78c9',
    500: '#9e39b2',
    950: '#000000',
  },
}
SCSS
$custom: #9e39b2;
$custom-light: #be78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e39b2",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 290.083,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5372,
    "c": 0.19756,
    "h": 320.6
  },
  "luminance": 0.1341
}

Semantic roles & 50–950 ramp

primary
#9E39B2
secondary
#8DC482
accent
#DB4D64
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E39B2

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

Preview Lab → · Contrast checker → · Palette generator →

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