#9D39B7#9D39B7

#9D39B7 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 53.9% C 0.202 H 318.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9D39B7
RGBrgb(157, 57, 183)
HSLhsl(288, 53%, 47%)
HSVhsv(288, 69%, 72%)
CMYKcmyk(14.2%, 68.9%, 0%, 28.2%)
CIE-LABlab(43.53, 59.06, -47.59)
CIE-LCHlch(43.53, 75.85, 321.14°)
OKLaboklab(53.9% 0.1512 -0.1334)
OKLCHoklch(53.9% 0.202 318.6)
XYZxyz(23.9138, 13.5143, 46.1394)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D39B7 #53B739
analogous
#5E39B7 #9D39B7 #B73992
triadic
#9D39B7 #B79D39 #39B79D
tetradic
#9D39B7 #B75E39 #53B739 #3992B7
square
#9D39B7 #B75E39 #53B739 #3992B7
split-complementary
#9D39B7 #92B739 #39B75E
monochromatic
#4D1C5A #752A88 #9D39B7 #B760CD #CC8EDC

Accessibility & contrast

On white

5.67
#9D39B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9D39B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D39B7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D39B7#FFFFFF#000000##FFFFFF
##9D39B71.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#406AB4
Tritanopia (blue-blind)
#9D5174
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d39b7;
/* rgb */ color: rgb(157, 57, 183);
/* oklch */ color: oklch(53.9% 0.202 318.6);
Tailwind
colors: {
  custom: {
    50: '#bd78cd',
    500: '#9d39b7',
    950: '#000000',
  },
}
SCSS
$custom: #9d39b7;
$custom-light: #bd78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d39b7",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 287.619,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53895,
    "c": 0.20164,
    "h": 318.6
  },
  "luminance": 0.13513
}

Semantic roles & 50–950 ramp

primary
#9D39B7
secondary
#93C785
accent
#DC4C6A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9D39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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