#9E39B5#9E39B5

#9E39B5 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 53.9% C 0.200 H 319.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9E39B5
RGBrgb(158, 57, 181)
HSLhsl(289, 52%, 47%)
HSVhsv(289, 69%, 71%)
CMYKcmyk(12.7%, 68.5%, 0%, 29%)
CIE-LABlab(43.56, 58.90, -46.36)
CIE-LCHlch(43.56, 74.96, 321.79°)
OKLaboklab(53.91% 0.1525 -0.1298)
OKLCHoklch(53.91% 0.2 319.6)
XYZxyz(23.9031, 13.5327, 45.0601)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E39B5 #50B539
analogous
#6039B5 #9E39B5 #B5398E
triadic
#9E39B5 #B59E39 #39B59E
tetradic
#9E39B5 #B56039 #50B539 #398EB5
square
#9E39B5 #B56039 #50B539 #398EB5
split-complementary
#9E39B5 #8EB539 #39B560
monochromatic
#4D1C58 #752A86 #9E39B5 #B85FCD #CD8DDB

Accessibility & contrast

On white

5.67
#9E39B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9E39B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E39B5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E39B5#FFFFFF#000000##FFFFFF
##9E39B51.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0260B9
Deuteranopia (green-blind)
#436AB2
Tritanopia (blue-blind)
#9E5073
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9e39b5;
/* rgb */ color: rgb(158, 57, 181);
/* oklch */ color: oklch(53.9% 0.200 319.6);
Tailwind
colors: {
  custom: {
    50: '#be78cc',
    500: '#9e39b5',
    950: '#000000',
  },
}
SCSS
$custom: #9e39b5;
$custom-light: #be78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e39b5",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 288.871,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53906,
    "c": 0.20025,
    "h": 319.6
  },
  "luminance": 0.13532
}

Semantic roles & 50–950 ramp

primary
#9E39B5
secondary
#90C684
accent
#DC4C67
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9E39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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