#9D39BD#9D39BD

#9D39BD is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.3% C 0.207 H 316.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9D39BD
RGBrgb(157, 57, 189)
HSLhsl(285, 54%, 48%)
HSVhsv(285, 70%, 74%)
CMYKcmyk(16.9%, 69.8%, 0%, 25.9%)
CIE-LABlab(43.90, 60.24, -50.51)
CIE-LCHlch(43.90, 78.61, 320.02°)
OKLaboklab(54.28% 0.1508 -0.1419)
OKLCHoklch(54.28% 0.207 316.7)
XYZxyz(24.5517, 13.7695, 49.4987)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D39BD #59BD39
analogous
#5B39BD #9D39BD #BD399B
triadic
#9D39BD #BD9D39 #39BD9D
tetradic
#9D39BD #BD5B39 #59BD39 #399BBD
square
#9D39BD #BD5B39 #59BD39 #399BBD
split-complementary
#9D39BD #9BBD39 #39BD5B
monochromatic
#4F1D5F #762B8E #9D39BD #B663D0 #CC92DE

Accessibility & contrast

On white

5.59
#9D39BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9D39BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D39BD
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D39BD#FFFFFF#000000##FFFFFF
##9D39BD1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#3B6BBA
Tritanopia (blue-blind)
#9B5377
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d39bd;
/* rgb */ color: rgb(157, 57, 189);
/* oklch */ color: oklch(54.3% 0.207 316.7);
Tailwind
colors: {
  custom: {
    50: '#be78d1',
    500: '#9d39bd',
    950: '#000000',
  },
}
SCSS
$custom: #9d39bd;
$custom-light: #be78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d39bd",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 285.455,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54281,
    "c": 0.20711,
    "h": 316.7
  },
  "luminance": 0.13768
}

Semantic roles & 50–950 ramp

primary
#9D39BD
secondary
#98C989
accent
#DD4B6E
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D39BD

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

Preview Lab → · Contrast checker → · Palette generator →

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