#9E39C8#9E39C8

#9E39C8 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.218 H 314.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9E39C8
RGBrgb(158, 57, 200)
HSLhsl(282, 57%, 50%)
HSVhsv(282, 72%, 78%)
CMYKcmyk(21%, 71.5%, 0%, 21.6%)
CIE-LABlab(44.75, 62.65, -55.53)
CIE-LCHlch(44.75, 83.72, 318.45°)
OKLaboklab(55.15% 0.151 -0.1566)
OKLCHoklch(55.15% 0.218 314)
XYZxyz(25.9872, 14.3663, 56.0364)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E39C8 #63C839
analogous
#5739C8 #9E39C8 #C839AA
triadic
#9E39C8 #C89E39 #39C89E
tetradic
#9E39C8 #C85739 #63C839 #39AAC8
square
#9E39C8 #C85739 #63C839 #39AAC8
split-complementary
#9E39C8 #AAC839 #39C857
monochromatic
#531D69 #792B99 #9E39C8 #B569D5 #CD99E3

Accessibility & contrast

On white

5.42
#9E39C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9E39C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E39C8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E39C8#FFFFFF#000000##FFFFFF
##9E39C81.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#306CC5
Tritanopia (blue-blind)
#9A587D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9e39c8;
/* rgb */ color: rgb(158, 57, 200);
/* oklch */ color: oklch(55.1% 0.218 314.0);
Tailwind
colors: {
  custom: {
    50: '#bf78d9',
    500: '#9e39c8',
    950: '#000000',
  },
}
SCSS
$custom: #9e39c8;
$custom-light: #bf78d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e39c8",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 282.378,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55145,
    "c": 0.21757,
    "h": 314
  },
  "luminance": 0.14365
}

Semantic roles & 50–950 ramp

primary
#9E39C8
secondary
#A1CE8F
accent
#E04875
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E39C8

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

Preview Lab → · Contrast checker → · Palette generator →

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