#9D39BC#9D39BC

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

Color values

HEX#9D39BC
RGBrgb(157, 57, 188)
HSLhsl(286, 53%, 48%)
HSVhsv(286, 70%, 74%)
CMYKcmyk(16.5%, 69.7%, 0%, 26.3%)
CIE-LABlab(43.84, 60.04, -50.02)
CIE-LCHlch(43.84, 78.15, 320.20°)
OKLaboklab(54.22% 0.1509 -0.1405)
OKLCHoklch(54.22% 0.206 317)
XYZxyz(24.4435, 13.7262, 48.9291)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D39BC #58BC39
analogous
#5C39BC #9D39BC #BC3999
triadic
#9D39BC #BC9D39 #39BC9D
tetradic
#9D39BC #BC5C39 #58BC39 #3999BC
square
#9D39BC #BC5C39 #58BC39 #3999BC
split-complementary
#9D39BC #99BC39 #39BC5C
monochromatic
#4F1D5E #762B8D #9D39BC #B663D0 #CC92DE

Accessibility & contrast

On white

5.61
#9D39BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D39BC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D39BC#FFFFFF#000000##FFFFFF
##9D39BC1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#3B6BB9
Tritanopia (blue-blind)
#9C5376
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d39bc;
/* rgb */ color: rgb(157, 57, 188);
/* oklch */ color: oklch(54.2% 0.206 317.0);
Tailwind
colors: {
  custom: {
    50: '#be78d1',
    500: '#9d39bc',
    950: '#000000',
  },
}
SCSS
$custom: #9d39bc;
$custom-light: #be78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d39bc",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 285.802,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54216,
    "c": 0.20619,
    "h": 317
  },
  "luminance": 0.13725
}

Semantic roles & 50–950 ramp

primary
#9D39BC
secondary
#97C988
accent
#DD4B6D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D39BC

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

Preview Lab → · Contrast checker → · Palette generator →

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