#9C2C8D#9C2C8D

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

Color values

HEX#9C2C8D
RGBrgb(156, 44, 141)
HSLhsl(308, 56%, 39%)
HSVhsv(308, 72%, 61%)
CMYKcmyk(0%, 71.8%, 9.6%, 38.8%)
CIE-LABlab(39.23, 56.42, -29.26)
CIE-LCHlch(39.23, 63.56, 332.59°)
OKLaboklab(50.01% 0.1635 -0.0801)
OKLCHoklch(50.01% 0.182 333.9)
XYZxyz(19.4189, 10.7940, 26.2548)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2C8D #2C9C3B
analogous
#732C9C #9C2C8D #9C2C55
triadic
#9C2C8D #8D9C2C #2C8D9C
tetradic
#9C2C8D #9C732C #2C9C3B #2C559C
square
#9C2C8D #9C732C #2C9C3B #2C559C
split-complementary
#9C2C8D #559C2C #2C9C73
monochromatic
#3D1137 #6C1F62 #9C2C8D #C83DB6 #D66DC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C2C8D#FFFFFF#000000##FFFFFF
##9C2C8D1.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)
#295290
Deuteranopia (green-blind)
#51628A
Tritanopia (blue-blind)
#A33659
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2c8d;
/* rgb */ color: rgb(156, 44, 141);
/* oklch */ color: oklch(50.0% 0.182 333.9);
Tailwind
colors: {
  custom: {
    50: '#bd70ae',
    500: '#9c2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #9c2c8d;
$custom-light: #bd70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2c8d",
  "rgb": {
    "r": 156,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 308.036,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50013,
    "c": 0.18208,
    "h": 333.9
  },
  "luminance": 0.10792
}

Semantic roles & 50–950 ramp

primary
#9C2C8D
secondary
#67BD73
accent
#DF5D49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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