#9D39CC#9D39CC

#9D39CC is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.221 H 312.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9D39CC
RGBrgb(157, 57, 204)
HSLhsl(281, 59%, 51%)
HSVhsv(281, 72%, 80%)
CMYKcmyk(23%, 72.1%, 0%, 20%)
CIE-LABlab(44.88, 63.27, -57.65)
CIE-LCHlch(44.88, 85.59, 317.66°)
OKLaboklab(55.29% 0.1493 -0.1629)
OKLCHoklch(55.29% 0.221 312.5)
XYZxyz(26.2649, 14.4547, 58.5215)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D39CC #68CC39
analogous
#5339CC #9D39CC #CC39B1
triadic
#9D39CC #CC9D39 #39CC9D
tetradic
#9D39CC #CC5339 #68CC39 #39B1CC
square
#9D39CC #CC5339 #68CC39 #39B1CC
split-complementary
#9D39CC #B1CC39 #39CC53
monochromatic
#541C6E #79299F #9D39CC #B56AD9 #CD9AE5

Accessibility & contrast

On white

5.40
#9D39CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9D39CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D39CC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D39CC#FFFFFF#000000##FFFFFF
##9D39CC1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#286CC9
Tritanopia (blue-blind)
#98597F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d39cc;
/* rgb */ color: rgb(157, 57, 204);
/* oklch */ color: oklch(55.3% 0.221 312.5);
Tailwind
colors: {
  custom: {
    50: '#be78dc',
    500: '#9d39cc',
    950: '#000000',
  },
}
SCSS
$custom: #9d39cc;
$custom-light: #be78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d39cc",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 280.816,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55289,
    "c": 0.22093,
    "h": 312.5
  },
  "luminance": 0.14454
}

Semantic roles & 50–950 ramp

primary
#9D39CC
secondary
#A5D190
accent
#E24678
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D39CC

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

Preview Lab → · Contrast checker → · Palette generator →

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