#9C2D8A#9C2D8A

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

Color values

HEX#9C2D8A
RGBrgb(156, 45, 138)
HSLhsl(310, 55%, 39%)
HSVhsv(310, 71%, 61%)
CMYKcmyk(0%, 71.2%, 11.5%, 38.8%)
CIE-LABlab(39.21, 55.59, -27.45)
CIE-LCHlch(39.21, 62.00, 333.72°)
OKLaboklab(49.95% 0.1622 -0.0749)
OKLCHoklch(49.95% 0.179 335.2)
XYZxyz(19.2364, 10.7813, 25.1077)
Luminance0.1078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2D8A #2D9C3F
analogous
#772D9C #9C2D8A #9C2D52
triadic
#9C2D8A #8A9C2D #2D8A9C
tetradic
#9C2D8A #9C772D #2D9C3F #2D529C
square
#9C2D8A #9C772D #2D9C3F #2D529C
split-complementary
#9C2D8A #529C2D #2D9C77
monochromatic
#3D1236 #6D1F60 #9C2D8A #C83FB1 #D56EC5

Accessibility & contrast

On white

6.65
#9C2D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9C2D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2D8A
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2D8A#FFFFFF#000000##FFFFFF
##9C2D8A1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c2d8a;
/* rgb */ color: rgb(156, 45, 138);
/* oklch */ color: oklch(49.9% 0.179 335.2);
Tailwind
colors: {
  custom: {
    50: '#bd70ac',
    500: '#9c2d8a',
    950: '#000000',
  },
}
SCSS
$custom: #9c2d8a;
$custom-light: #bd70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2d8a",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 309.73,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49948,
    "c": 0.17864,
    "h": 335.2
  },
  "luminance": 0.1078
}

Semantic roles & 50–950 ramp

primary
#9C2D8A
secondary
#68BC76
accent
#DF6149
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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