#9E39CD#9E39CD

#9E39CD is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.222 H 312.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9E39CD
RGBrgb(158, 57, 205)
HSLhsl(281, 60%, 51%)
HSVhsv(281, 72%, 80%)
CMYKcmyk(22.9%, 72.2%, 0%, 19.6%)
CIE-LABlab(45.09, 63.67, -57.88)
CIE-LCHlch(45.09, 86.05, 317.73°)
OKLaboklab(55.49% 0.1504 -0.1635)
OKLCHoklch(55.49% 0.222 312.6)
XYZxyz(26.5811, 14.6039, 59.1644)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E39CD #68CD39
analogous
#5439CD #9E39CD #CD39B2
triadic
#9E39CD #CD9E39 #39CD9E
tetradic
#9E39CD #CD5439 #68CD39 #39B2CD
square
#9E39CD #CD5439 #68CD39 #39B2CD
split-complementary
#9E39CD #B2CD39 #39CD54
monochromatic
#551C6F #7A28A0 #9E39CD #B66AD9 #CE9BE6

Accessibility & contrast

On white

5.36
#9E39CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9E39CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E39CD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E39CD#FFFFFF#000000##FFFFFF
##9E39CD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#286DCA
Tritanopia (blue-blind)
#995A80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9e39cd;
/* rgb */ color: rgb(158, 57, 205);
/* oklch */ color: oklch(55.5% 0.222 312.6);
Tailwind
colors: {
  custom: {
    50: '#bf79dd',
    500: '#9e39cd',
    950: '#000000',
  },
}
SCSS
$custom: #9e39cd;
$custom-light: #bf79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e39cd",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 205
  },
  "hsl": {
    "h": 280.946,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55488,
    "c": 0.22218,
    "h": 312.6
  },
  "luminance": 0.14603
}

Semantic roles & 50–950 ramp

primary
#9E39CD
secondary
#A5D290
accent
#E34577
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E39CD

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

Preview Lab → · Contrast checker → · Palette generator →

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