#9D39B9#9D39B9

#9D39B9 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.0% C 0.203 H 318.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9D39B9
RGBrgb(157, 57, 185)
HSLhsl(287, 53%, 47%)
HSVhsv(287, 69%, 73%)
CMYKcmyk(15.1%, 69.2%, 0%, 27.5%)
CIE-LABlab(43.65, 59.45, -48.56)
CIE-LCHlch(43.65, 76.77, 320.76°)
OKLaboklab(54.02% 0.1511 -0.1362)
OKLCHoklch(54.02% 0.203 318)
XYZxyz(24.1235, 13.5982, 47.2435)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D39B9 #55B939
analogous
#5D39B9 #9D39B9 #B93995
triadic
#9D39B9 #B99D39 #39B99D
tetradic
#9D39B9 #B95D39 #55B939 #3995B9
square
#9D39B9 #B95D39 #55B939 #3995B9
split-complementary
#9D39B9 #95B939 #39B95D
monochromatic
#4E1C5B #752B8A #9D39B9 #B661CE #CC90DD

Accessibility & contrast

On white

5.65
#9D39B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9D39B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D39B9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D39B9#FFFFFF#000000##FFFFFF
##9D39B91.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#3E6AB6
Tritanopia (blue-blind)
#9C5175
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d39b9;
/* rgb */ color: rgb(157, 57, 185);
/* oklch */ color: oklch(54.0% 0.203 318.0);
Tailwind
colors: {
  custom: {
    50: '#be78cf',
    500: '#9d39b9',
    950: '#000000',
  },
}
SCSS
$custom: #9d39b9;
$custom-light: #be78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d39b9",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 286.875,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54023,
    "c": 0.20345,
    "h": 318
  },
  "luminance": 0.13597
}

Semantic roles & 50–950 ramp

primary
#9D39B9
secondary
#95C886
accent
#DC4B6B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9D39B9

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

Preview Lab → · Contrast checker → · Palette generator →

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