#9C2C8A#9C2C8A

#9C2C8A is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.180 H 335.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9C2C8A
RGBrgb(156, 44, 138)
HSLhsl(310, 56%, 39%)
HSVhsv(310, 72%, 61%)
CMYKcmyk(0%, 71.8%, 11.5%, 38.8%)
CIE-LABlab(39.08, 55.95, -27.66)
CIE-LCHlch(39.08, 62.41, 333.70°)
OKLaboklab(49.86% 0.1632 -0.0755)
OKLCHoklch(49.86% 0.18 335.2)
XYZxyz(19.1987, 10.7059, 25.0951)
Luminance0.1070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2C8A #2C9C3E
analogous
#762C9C #9C2C8A #9C2C52
triadic
#9C2C8A #8A9C2C #2C8A9C
tetradic
#9C2C8A #9C762C #2C9C3E #2C529C
square
#9C2C8A #9C762C #2C9C3E #2C529C
split-complementary
#9C2C8A #529C2C #2C9C76
monochromatic
#3D1136 #6C1F60 #9C2C8A #C83DB2 #D66DC5

Accessibility & contrast

On white

6.69
#9C2C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9C2C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2C8A
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2C8A#FFFFFF#000000##FFFFFF
##9C2C8A1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518D
Deuteranopia (green-blind)
#536287
Tritanopia (blue-blind)
#A43457
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2c8a;
/* rgb */ color: rgb(156, 44, 138);
/* oklch */ color: oklch(49.9% 0.180 335.2);
Tailwind
colors: {
  custom: {
    50: '#bd70ac',
    500: '#9c2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #9c2c8a;
$custom-light: #bd70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2c8a",
  "rgb": {
    "r": 156,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 309.643,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49855,
    "c": 0.17985,
    "h": 335.2
  },
  "luminance": 0.10704
}

Semantic roles & 50–950 ramp

primary
#9C2C8A
secondary
#67BD75
accent
#DF6149
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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