#9C39BD#9C39BD

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

Color values

HEX#9C39BD
RGBrgb(156, 57, 189)
HSLhsl(285, 54%, 48%)
HSVhsv(285, 70%, 74%)
CMYKcmyk(17.5%, 69.8%, 0%, 25.9%)
CIE-LABlab(43.75, 60.03, -50.75)
CIE-LCHlch(43.75, 78.60, 319.79°)
OKLaboklab(54.15% 0.1496 -0.1427)
OKLCHoklch(54.15% 0.207 316.4)
XYZxyz(24.3573, 13.6693, 49.4896)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C39BD #5ABD39
analogous
#5A39BD #9C39BD #BD399C
triadic
#9C39BD #BD9C39 #39BD9C
tetradic
#9C39BD #BD5A39 #5ABD39 #399CBD
square
#9C39BD #BD5A39 #5ABD39 #399CBD
split-complementary
#9C39BD #9CBD39 #39BD5A
monochromatic
#4E1D5F #752B8E #9C39BD #B563D0 #CB92DE

Accessibility & contrast

On white

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

On black

3.73
#9C39BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9C39BD#FFFFFF#000000##FFFFFF
##9C39BD1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#396ABA
Tritanopia (blue-blind)
#9A5377
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9c39bd;
/* rgb */ color: rgb(156, 57, 189);
/* oklch */ color: oklch(54.1% 0.207 316.4);
Tailwind
colors: {
  custom: {
    50: '#bd78d1',
    500: '#9c39bd',
    950: '#000000',
  },
}
SCSS
$custom: #9c39bd;
$custom-light: #bd78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c39bd",
  "rgb": {
    "r": 156,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 285,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54147,
    "c": 0.20672,
    "h": 316.4
  },
  "luminance": 0.13668
}

Semantic roles & 50–950 ramp

primary
#9C39BD
secondary
#99C989
accent
#DD4B6F
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9C39BD

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

Preview Lab → · Contrast checker → · Palette generator →

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