#9C39AC#9C39AC

#9C39AC is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.1% C 0.191 H 321.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9C39AC
RGBrgb(156, 57, 172)
HSLhsl(292, 50%, 45%)
HSVhsv(292, 67%, 67%)
CMYKcmyk(9.3%, 66.9%, 0%, 32.5%)
CIE-LABlab(42.72, 56.73, -42.39)
CIE-LCHlch(42.72, 70.82, 323.23°)
OKLaboklab(53.08% 0.1503 -0.1182)
OKLCHoklch(53.08% 0.191 321.8)
XYZxyz(22.6190, 12.9739, 40.3345)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C39AC #49AC39
analogous
#6239AC #9C39AC #AC3983
triadic
#9C39AC #AC9C39 #39AC9C
tetradic
#9C39AC #AC6239 #49AC39 #3983AC
square
#9C39AC #AC6239 #49AC39 #3983AC
split-complementary
#9C39AC #83AC39 #39AC62
monochromatic
#491B50 #722A7E #9C39AC #B95AC8 #CC88D8

Accessibility & contrast

On white

5.84
#9C39AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9C39AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C39AC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C39AC#FFFFFF#000000##FFFFFF
##9C39AC1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185EAF
Deuteranopia (green-blind)
#4769A9
Tritanopia (blue-blind)
#9E4C6E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9c39ac;
/* rgb */ color: rgb(156, 57, 172);
/* oklch */ color: oklch(53.1% 0.191 321.8);
Tailwind
colors: {
  custom: {
    50: '#bc77c5',
    500: '#9c39ac',
    950: '#000000',
  },
}
SCSS
$custom: #9c39ac;
$custom-light: #bc77c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c39ac",
  "rgb": {
    "r": 156,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 291.652,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53077,
    "c": 0.19126,
    "h": 321.8
  },
  "luminance": 0.12973
}

Semantic roles & 50–950 ramp

primary
#9C39AC
secondary
#88C27F
accent
#DA4E62
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C39AC

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

Preview Lab → · Contrast checker → · Palette generator →

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