#9C2B8D#9C2B8D

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

Color values

HEX#9C2B8D
RGBrgb(156, 43, 141)
HSLhsl(308, 57%, 39%)
HSVhsv(308, 72%, 61%)
CMYKcmyk(0%, 72.4%, 9.6%, 38.8%)
CIE-LABlab(39.11, 56.78, -29.45)
CIE-LCHlch(39.11, 63.96, 332.58°)
OKLaboklab(49.92% 0.1646 -0.0806)
OKLCHoklch(49.92% 0.183 333.9)
XYZxyz(19.3820, 10.7204, 26.2426)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2B8D #2B9C3A
analogous
#732B9C #9C2B8D #9C2B55
triadic
#9C2B8D #8D9C2B #2B8D9C
tetradic
#9C2B8D #9C732B #2B9C3A #2B559C
square
#9C2B8D #9C732B #2B9C3A #2B559C
split-complementary
#9C2B8D #559C2B #2B9C73
monochromatic
#3C1136 #6C1E62 #9C2B8D #C93BB6 #D66BC8

Accessibility & contrast

On white

6.68
#9C2B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C2B8D
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2B8D#FFFFFF#000000##FFFFFF
##9C2B8D1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285290
Deuteranopia (green-blind)
#51628A
Tritanopia (blue-blind)
#A33559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2b8d;
/* rgb */ color: rgb(156, 43, 141);
/* oklch */ color: oklch(49.9% 0.183 333.9);
Tailwind
colors: {
  custom: {
    50: '#bd6fae',
    500: '#9c2b8d',
    950: '#000000',
  },
}
SCSS
$custom: #9c2b8d;
$custom-light: #bd6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2b8d",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 307.965,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49922,
    "c": 0.18327,
    "h": 333.9
  },
  "luminance": 0.10719
}

Semantic roles & 50–950 ramp

primary
#9C2B8D
secondary
#66BD71
accent
#E05C48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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