#9D39BB#9D39BB

#9D39BB is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.2% C 0.205 H 317.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9D39BB
RGBrgb(157, 57, 187)
HSLhsl(286, 53%, 48%)
HSVhsv(286, 70%, 73%)
CMYKcmyk(16%, 69.5%, 0%, 26.7%)
CIE-LABlab(43.78, 59.85, -49.54)
CIE-LCHlch(43.78, 77.69, 320.38°)
OKLaboklab(54.15% 0.151 -0.1391)
OKLCHoklch(54.15% 0.205 317.3)
XYZxyz(24.3361, 13.6832, 48.3633)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D39BB #57BB39
analogous
#5C39BB #9D39BB #BB3998
triadic
#9D39BB #BB9D39 #39BB9D
tetradic
#9D39BB #BB5C39 #57BB39 #3998BB
square
#9D39BB #BB5C39 #57BB39 #3998BB
split-complementary
#9D39BB #98BB39 #39BB5C
monochromatic
#4E1C5D #762B8C #9D39BB #B662CF #CC91DD

Accessibility & contrast

On white

5.62
#9D39BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9D39BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D39BB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D39BB#FFFFFF#000000##FFFFFF
##9D39BB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#3C6AB8
Tritanopia (blue-blind)
#9C5276
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d39bb;
/* rgb */ color: rgb(157, 57, 187);
/* oklch */ color: oklch(54.2% 0.205 317.3);
Tailwind
colors: {
  custom: {
    50: '#be78d0',
    500: '#9d39bb',
    950: '#000000',
  },
}
SCSS
$custom: #9d39bb;
$custom-light: #be78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d39bb",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 286.154,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54151,
    "c": 0.20528,
    "h": 317.3
  },
  "luminance": 0.13682
}

Semantic roles & 50–950 ramp

primary
#9D39BB
secondary
#96C887
accent
#DD4B6D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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