#9C39BC#9C39BC

#9C39BC is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.1% C 0.206 H 316.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9C39BC
RGBrgb(156, 57, 188)
HSLhsl(285, 53%, 48%)
HSVhsv(285, 70%, 74%)
CMYKcmyk(17%, 69.7%, 0%, 26.3%)
CIE-LABlab(43.69, 59.83, -50.26)
CIE-LCHlch(43.69, 78.14, 319.96°)
OKLaboklab(54.08% 0.1497 -0.1412)
OKLCHoklch(54.08% 0.206 316.7)
XYZxyz(24.2492, 13.6260, 48.9199)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C39BC #59BC39
analogous
#5B39BC #9C39BC #BC399A
triadic
#9C39BC #BC9C39 #39BC9C
tetradic
#9C39BC #BC5B39 #59BC39 #399ABC
square
#9C39BC #BC5B39 #59BC39 #399ABC
split-complementary
#9C39BC #9ABC39 #39BC5B
monochromatic
#4E1D5E #752B8D #9C39BC #B563D0 #CB92DE

Accessibility & contrast

On white

5.64
#9C39BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C39BC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C39BC#FFFFFF#000000##FFFFFF
##9C39BC1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#3A6AB9
Tritanopia (blue-blind)
#9A5376
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9c39bc;
/* rgb */ color: rgb(156, 57, 188);
/* oklch */ color: oklch(54.1% 0.206 316.7);
Tailwind
colors: {
  custom: {
    50: '#bd78d1',
    500: '#9c39bc',
    950: '#000000',
  },
}
SCSS
$custom: #9c39bc;
$custom-light: #bd78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c39bc",
  "rgb": {
    "r": 156,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 285.344,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54082,
    "c": 0.2058,
    "h": 316.7
  },
  "luminance": 0.13625
}

Semantic roles & 50–950 ramp

primary
#9C39BC
secondary
#98C988
accent
#DD4B6F
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9C39BC

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

Preview Lab → · Contrast checker → · Palette generator →

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