#9C2C8F#9C2C8F

#9C2C8F is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.1% C 0.184 H 333.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9C2C8F
RGBrgb(156, 44, 143)
HSLhsl(307, 56%, 39%)
HSVhsv(307, 72%, 61%)
CMYKcmyk(0%, 71.8%, 8.3%, 38.8%)
CIE-LABlab(39.33, 56.74, -30.32)
CIE-LCHlch(39.33, 64.33, 331.88°)
OKLaboklab(50.12% 0.1637 -0.0831)
OKLCHoklch(50.12% 0.184 333.1)
XYZxyz(19.5690, 10.8541, 27.0457)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2C8F #2C9C39
analogous
#712C9C #9C2C8F #9C2C57
triadic
#9C2C8F #8F9C2C #2C8F9C
tetradic
#9C2C8F #9C712C #2C9C39 #2C579C
square
#9C2C8F #9C712C #2C9C39 #2C579C
split-complementary
#9C2C8F #579C2C #2C9C71
monochromatic
#3D1137 #6C1F63 #9C2C8F #C83DB8 #D66DCA

Accessibility & contrast

On white

6.62
#9C2C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9C2C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2C8F
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2C8F#FFFFFF#000000##FFFFFF
##9C2C8F1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285292
Deuteranopia (green-blind)
#50628C
Tritanopia (blue-blind)
#A3375A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c2c8f;
/* rgb */ color: rgb(156, 44, 143);
/* oklch */ color: oklch(50.1% 0.184 333.1);
Tailwind
colors: {
  custom: {
    50: '#bd70b0',
    500: '#9c2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #9c2c8f;
$custom-light: #bd70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2c8f",
  "rgb": {
    "r": 156,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 306.964,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5012,
    "c": 0.18358,
    "h": 333.1
  },
  "luminance": 0.10852
}

Semantic roles & 50–950 ramp

primary
#9C2C8F
secondary
#67BD71
accent
#DF5A49
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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