#9C2CAB#9C2CAB

#9C2CAB is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.206 H 322.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9C2CAB
RGBrgb(156, 44, 171)
HSLhsl(293, 59%, 42%)
HSVhsv(293, 74%, 67%)
CMYKcmyk(8.8%, 74.3%, 0%, 32.9%)
CIE-LABlab(40.91, 61.49, -44.69)
CIE-LCHlch(40.91, 76.02, 324.00°)
OKLaboklab(51.76% 0.1638 -0.1248)
OKLCHoklch(51.76% 0.206 322.7)
XYZxyz(21.9609, 11.8108, 39.6432)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2CAB #3BAB2C
analogous
#5C2CAB #9C2CAB #AB2C7B
triadic
#9C2CAB #AB9C2C #2CAB9C
tetradic
#9C2CAB #AB5C2C #3BAB2C #2C7BAB
square
#9C2CAB #AB5C2C #3BAB2C #2C7BAB
split-complementary
#9C2CAB #7BAB2C #2CAB5C
monochromatic
#43134A #701F7A #9C2CAB #BF45CF #D076DC

Accessibility & contrast

On white

6.25
#9C2CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9C2CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2CAB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2CAB#FFFFFF#000000##FFFFFF
##9C2CAB1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#4065A8
Tritanopia (blue-blind)
#9E446A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c2cab;
/* rgb */ color: rgb(156, 44, 171);
/* oklch */ color: oklch(51.8% 0.206 322.7);
Tailwind
colors: {
  custom: {
    50: '#bd71c5',
    500: '#9c2cab',
    950: '#000000',
  },
}
SCSS
$custom: #9c2cab;
$custom-light: #bd71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2cab",
  "rgb": {
    "r": 156,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 292.913,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51762,
    "c": 0.20594,
    "h": 322.7
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

primary
#9C2CAB
secondary
#79C36F
accent
#E24658
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9C2CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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