#9C39BB#9C39BB

#9C39BB is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.0% C 0.205 H 317.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9C39BB
RGBrgb(156, 57, 187)
HSLhsl(286, 53%, 48%)
HSVhsv(286, 70%, 73%)
CMYKcmyk(16.6%, 69.5%, 0%, 26.7%)
CIE-LABlab(43.63, 59.63, -49.78)
CIE-LCHlch(43.63, 77.68, 320.14°)
OKLaboklab(54.02% 0.1498 -0.1398)
OKLCHoklch(54.02% 0.205 317)
XYZxyz(24.1417, 13.5830, 48.3542)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C39BB #58BB39
analogous
#5B39BB #9C39BB #BB3999
triadic
#9C39BB #BB9C39 #39BB9C
tetradic
#9C39BB #BB5B39 #58BB39 #3999BB
square
#9C39BB #BB5B39 #58BB39 #3999BB
split-complementary
#9C39BB #99BB39 #39BB5B
monochromatic
#4E1C5D #752B8C #9C39BB #B562CF #CB91DD

Accessibility & contrast

On white

5.65
#9C39BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9C39BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C39BB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C39BB#FFFFFF#000000##FFFFFF
##9C39BB1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c39bb;
/* rgb */ color: rgb(156, 57, 187);
/* oklch */ color: oklch(54.0% 0.205 317.0);
Tailwind
colors: {
  custom: {
    50: '#bd78d0',
    500: '#9c39bb',
    950: '#000000',
  },
}
SCSS
$custom: #9c39bb;
$custom-light: #bd78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c39bb",
  "rgb": {
    "r": 156,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 285.692,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54017,
    "c": 0.20488,
    "h": 317
  },
  "luminance": 0.13582
}

Semantic roles & 50–950 ramp

primary
#9C39BB
secondary
#97C887
accent
#DD4B6E
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9C39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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