#9C2CB1#9C2CB1

#9C2CB1 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.211 H 320.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9C2CB1
RGBrgb(156, 44, 177)
HSLhsl(291, 60%, 43%)
HSVhsv(291, 75%, 69%)
CMYKcmyk(11.9%, 75.1%, 0%, 30.6%)
CIE-LABlab(41.29, 62.59, -47.65)
CIE-LCHlch(41.29, 78.66, 322.72°)
OKLaboklab(52.15% 0.1633 -0.1335)
OKLCHoklch(52.15% 0.211 320.7)
XYZxyz(22.5459, 12.0448, 42.7238)
Luminance0.1204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2CB1 #41B12C
analogous
#592CB1 #9C2CB1 #B12C83
triadic
#9C2CB1 #B19C2C #2CB19C
tetradic
#9C2CB1 #B1592C #41B12C #2C83B1
square
#9C2CB1 #B1592C #41B12C #2C83B1
split-complementary
#9C2CB1 #83B12C #2CB159
monochromatic
#46144F #712080 #9C2CB1 #BC49D2 #CE7ADE

Accessibility & contrast

On white

6.16
#9C2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9C2CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2CB1
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2CB1#FFFFFF#000000##FFFFFF
##9C2CB11.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#3B65AE
Tritanopia (blue-blind)
#9D476D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c2cb1;
/* rgb */ color: rgb(156, 44, 177);
/* oklch */ color: oklch(52.1% 0.211 320.7);
Tailwind
colors: {
  custom: {
    50: '#bd71c9',
    500: '#9c2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #9c2cb1;
$custom-light: #bd71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2cb1",
  "rgb": {
    "r": 156,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 290.526,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52147,
    "c": 0.21095,
    "h": 320.7
  },
  "luminance": 0.12044
}

Semantic roles & 50–950 ramp

primary
#9C2CB1
secondary
#80C673
accent
#E3445E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9C2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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