#9E39CE#9E39CE

#9E39CE is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.223 H 312.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9E39CE
RGBrgb(158, 57, 206)
HSLhsl(281, 60%, 52%)
HSVhsv(281, 72%, 81%)
CMYKcmyk(23.3%, 72.3%, 0%, 19.2%)
CIE-LABlab(45.15, 63.88, -58.35)
CIE-LCHlch(45.15, 86.51, 317.59°)
OKLaboklab(55.56% 0.1503 -0.1649)
OKLCHoklch(55.56% 0.223 312.3)
XYZxyz(26.7022, 14.6523, 59.8021)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E39CE #69CE39
analogous
#5439CE #9E39CE #CE39B4
triadic
#9E39CE #CE9E39 #39CE9E
tetradic
#9E39CE #CE5439 #69CE39 #39B4CE
square
#9E39CE #CE5439 #69CE39 #39B4CE
split-complementary
#9E39CE #B4CE39 #39CE54
monochromatic
#551C71 #7B28A2 #9E39CE #B66ADA #CE9BE6

Accessibility & contrast

On white

5.34
#9E39CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9E39CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E39CE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E39CE#FFFFFF#000000##FFFFFF
##9E39CE1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#276DCB
Tritanopia (blue-blind)
#985A80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9e39ce;
/* rgb */ color: rgb(158, 57, 206);
/* oklch */ color: oklch(55.6% 0.223 312.3);
Tailwind
colors: {
  custom: {
    50: '#bf79de',
    500: '#9e39ce',
    950: '#000000',
  },
}
SCSS
$custom: #9e39ce;
$custom-light: #bf79de;
$custom-dark: #000000;
JSON
{
  "hex": "#9e39ce",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 280.671,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55557,
    "c": 0.2231,
    "h": 312.3
  },
  "luminance": 0.14652
}

Semantic roles & 50–950 ramp

primary
#9E39CE
secondary
#A6D291
accent
#E34478
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E39CE

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

Preview Lab → · Contrast checker → · Palette generator →

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