#9C2CBA#9C2CBA

#9C2CBA is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.219 H 318.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9C2CBA
RGBrgb(156, 44, 186)
HSLhsl(287, 62%, 45%)
HSVhsv(287, 76%, 73%)
CMYKcmyk(16.1%, 76.3%, 0%, 27.1%)
CIE-LABlab(41.87, 64.26, -52.02)
CIE-LCHlch(41.87, 82.68, 321.01°)
OKLaboklab(52.75% 0.1623 -0.1463)
OKLCHoklch(52.75% 0.219 318)
XYZxyz(23.4727, 12.4155, 47.6049)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2CBA #4ABA2C
analogous
#552CBA #9C2CBA #BA2C91
triadic
#9C2CBA #BA9C2C #2CBA9C
tetradic
#9C2CBA #BA552C #4ABA2C #2C91BA
square
#9C2CBA #BA552C #4ABA2C #2C91BA
split-complementary
#9C2CBA #91BA2C #2CBA55
monochromatic
#491557 #722089 #9C2CBA #B94ED5 #CC80E1

Accessibility & contrast

On white

6.03
#9C2CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9C2CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2CBA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2CBA#FFFFFF#000000##FFFFFF
##9C2CBA1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#3266B7
Tritanopia (blue-blind)
#9B4B72
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c2cba;
/* rgb */ color: rgb(156, 44, 186);
/* oklch */ color: oklch(52.7% 0.219 318.0);
Tailwind
colors: {
  custom: {
    50: '#bd72cf',
    500: '#9c2cba',
    950: '#000000',
  },
}
SCSS
$custom: #9c2cba;
$custom-light: #bd72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2cba",
  "rgb": {
    "r": 156,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 287.324,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52745,
    "c": 0.21855,
    "h": 318
  },
  "luminance": 0.12414
}

Semantic roles & 50–950 ramp

primary
#9C2CBA
secondary
#89CA78
accent
#E54365
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9C2CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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