#9E39CC#9E39CC

#9E39CC is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.221 H 312.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9E39CC
RGBrgb(158, 57, 204)
HSLhsl(281, 59%, 51%)
HSVhsv(281, 72%, 80%)
CMYKcmyk(22.5%, 72.1%, 0%, 20%)
CIE-LABlab(45.02, 63.47, -57.41)
CIE-LCHlch(45.02, 85.58, 317.87°)
OKLaboklab(55.42% 0.1505 -0.1622)
OKLCHoklch(55.42% 0.221 312.9)
XYZxyz(26.4608, 14.5558, 58.5307)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E39CC #67CC39
analogous
#5439CC #9E39CC #CC39B1
triadic
#9E39CC #CC9E39 #39CC9E
tetradic
#9E39CC #CC5439 #67CC39 #39B1CC
square
#9E39CC #CC5439 #67CC39 #39B1CC
split-complementary
#9E39CC #B1CC39 #39CC54
monochromatic
#551C6E #7A299F #9E39CC #B66AD9 #CE9AE5

Accessibility & contrast

On white

5.37
#9E39CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9E39CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E39CC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E39CC#FFFFFF#000000##FFFFFF
##9E39CC1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#2A6DC9
Tritanopia (blue-blind)
#99597F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9e39cc;
/* rgb */ color: rgb(158, 57, 204);
/* oklch */ color: oklch(55.4% 0.221 312.9);
Tailwind
colors: {
  custom: {
    50: '#bf79dc',
    500: '#9e39cc',
    950: '#000000',
  },
}
SCSS
$custom: #9e39cc;
$custom-light: #bf79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e39cc",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 281.224,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55419,
    "c": 0.22126,
    "h": 312.9
  },
  "luminance": 0.14555
}

Semantic roles & 50–950 ramp

primary
#9E39CC
secondary
#A4D190
accent
#E24677
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E39CC

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

Preview Lab → · Contrast checker → · Palette generator →

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