#9C2AB1#9C2AB1

#9C2AB1 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.213 H 320.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9C2AB1
RGBrgb(156, 42, 177)
HSLhsl(291, 62%, 43%)
HSVhsv(291, 76%, 69%)
CMYKcmyk(11.9%, 76.3%, 0%, 30.6%)
CIE-LABlab(41.06, 63.25, -48.02)
CIE-LCHlch(41.06, 79.41, 322.79°)
OKLaboklab(51.98% 0.1651 -0.1346)
OKLCHoklch(51.98% 0.213 320.8)
XYZxyz(22.4731, 11.8994, 42.6995)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2AB1 #3FB12A
analogous
#592AB1 #9C2AB1 #B12A82
triadic
#9C2AB1 #B19C2A #2AB19C
tetradic
#9C2AB1 #B1592A #3FB12A #2A82B1
square
#9C2AB1 #B1592A #3FB12A #2A82B1
split-complementary
#9C2AB1 #82B12A #2AB159
monochromatic
#45134E #701E80 #9C2AB1 #BD45D3 #CE77DF

Accessibility & contrast

On white

6.21
#9C2AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9C2AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2AB1
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2AB1#FFFFFF#000000##FFFFFF
##9C2AB11.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#3A65AE
Tritanopia (blue-blind)
#9D466C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c2ab1;
/* rgb */ color: rgb(156, 42, 177);
/* oklch */ color: oklch(52.0% 0.213 320.8);
Tailwind
colors: {
  custom: {
    50: '#bd70c9',
    500: '#9c2ab1',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ab1;
$custom-light: #bd70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ab1",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 290.667,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51983,
    "c": 0.213,
    "h": 320.8
  },
  "luminance": 0.11898
}

Semantic roles & 50–950 ramp

primary
#9C2AB1
secondary
#7EC670
accent
#E5435C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9C2AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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