#9C2B8A#9C2B8A

#9C2B8A is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.181 H 335.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9C2B8A
RGBrgb(156, 43, 138)
HSLhsl(310, 57%, 39%)
HSVhsv(310, 72%, 61%)
CMYKcmyk(0%, 72.4%, 11.5%, 38.8%)
CIE-LABlab(38.95, 56.31, -27.85)
CIE-LCHlch(38.95, 62.82, 333.68°)
OKLaboklab(49.76% 0.1643 -0.0761)
OKLCHoklch(49.76% 0.181 335.2)
XYZxyz(19.1619, 10.6323, 25.0829)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2B8A #2B9C3D
analogous
#762B9C #9C2B8A #9C2B51
triadic
#9C2B8A #8A9C2B #2B8A9C
tetradic
#9C2B8A #9C762B #2B9C3D #2B519C
square
#9C2B8A #9C762B #2B9C3D #2B519C
split-complementary
#9C2B8A #519C2B #2B9C76
monochromatic
#3C1135 #6C1E60 #9C2B8A #C93BB2 #D66BC5

Accessibility & contrast

On white

6.72
#9C2B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9C2B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2B8A
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2B8A#FFFFFF#000000##FFFFFF
##9C2B8A1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c2b8a;
/* rgb */ color: rgb(156, 43, 138);
/* oklch */ color: oklch(49.8% 0.181 335.2);
Tailwind
colors: {
  custom: {
    50: '#bd6fac',
    500: '#9c2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #9c2b8a;
$custom-light: #bd6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2b8a",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 309.558,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49763,
    "c": 0.18105,
    "h": 335.2
  },
  "luminance": 0.10631
}

Semantic roles & 50–950 ramp

primary
#9C2B8A
secondary
#66BD74
accent
#E06048
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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