#9D39CE#9D39CE

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

Color values

HEX#9D39CE
RGBrgb(157, 57, 206)
HSLhsl(280, 60%, 52%)
HSVhsv(280, 72%, 81%)
CMYKcmyk(23.8%, 72.3%, 0%, 19.2%)
CIE-LABlab(45.01, 63.68, -58.58)
CIE-LCHlch(45.01, 86.53, 317.39°)
OKLaboklab(55.43% 0.149 -0.1656)
OKLCHoklch(55.43% 0.223 312)
XYZxyz(26.5063, 14.5513, 59.7929)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D39CE #6ACE39
analogous
#5339CE #9D39CE #CE39B5
triadic
#9D39CE #CE9D39 #39CE9D
tetradic
#9D39CE #CE5339 #6ACE39 #39B5CE
square
#9D39CE #CE5339 #6ACE39 #39B5CE
split-complementary
#9D39CE #B5CE39 #39CE53
monochromatic
#551C71 #7A28A2 #9D39CE #B56ADA #CE9BE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D39CE#FFFFFF#000000##FFFFFF
##9D39CE1.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)
#0066D2
Deuteranopia (green-blind)
#256CCB
Tritanopia (blue-blind)
#975A80
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d39ce;
/* rgb */ color: rgb(157, 57, 206);
/* oklch */ color: oklch(55.4% 0.223 312.0);
Tailwind
colors: {
  custom: {
    50: '#be79de',
    500: '#9d39ce',
    950: '#000000',
  },
}
SCSS
$custom: #9d39ce;
$custom-light: #be79de;
$custom-dark: #000000;
JSON
{
  "hex": "#9d39ce",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 280.268,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55428,
    "c": 0.22278,
    "h": 312
  },
  "luminance": 0.14551
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D39CE

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

Preview Lab → · Contrast checker → · Palette generator →

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