#9E39C5#9E39C5

#9E39C5 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.215 H 314.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9E39C5
RGBrgb(158, 57, 197)
HSLhsl(283, 55%, 50%)
HSVhsv(283, 71%, 77%)
CMYKcmyk(19.8%, 71.1%, 0%, 22.7%)
CIE-LABlab(44.56, 62.05, -54.10)
CIE-LCHlch(44.56, 82.32, 318.91°)
OKLaboklab(54.94% 0.1513 -0.1524)
OKLCHoklch(54.94% 0.215 314.8)
XYZxyz(25.6401, 14.2275, 54.2080)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E39C5 #60C539
analogous
#5839C5 #9E39C5 #C539A6
triadic
#9E39C5 #C59E39 #39C59E
tetradic
#9E39C5 #C55839 #60C539 #39A6C5
square
#9E39C5 #C55839 #60C539 #39A6C5
split-complementary
#9E39C5 #A6C539 #39C558
monochromatic
#521E66 #782B96 #9E39C5 #B568D3 #CD97E1

Accessibility & contrast

On white

5.46
#9E39C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9E39C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E39C5
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E39C5#FFFFFF#000000##FFFFFF
##9E39C51.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#336CC2
Tritanopia (blue-blind)
#9B567B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9e39c5;
/* rgb */ color: rgb(158, 57, 197);
/* oklch */ color: oklch(54.9% 0.215 314.8);
Tailwind
colors: {
  custom: {
    50: '#bf78d7',
    500: '#9e39c5',
    950: '#000000',
  },
}
SCSS
$custom: #9e39c5;
$custom-light: #bf78d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e39c5",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 283.286,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54943,
    "c": 0.21481,
    "h": 314.8
  },
  "luminance": 0.14227
}

Semantic roles & 50–950 ramp

primary
#9E39C5
secondary
#9FCD8D
accent
#DE4973
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9E39C5

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

Preview Lab → · Contrast checker → · Palette generator →

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