#9C2CBC#9C2CBC

#9C2CBC is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.220 H 317.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9C2CBC
RGBrgb(156, 44, 188)
HSLhsl(287, 62%, 45%)
HSVhsv(287, 77%, 74%)
CMYKcmyk(17%, 76.6%, 0%, 26.3%)
CIE-LABlab(42.00, 64.64, -52.98)
CIE-LCHlch(42.00, 83.58, 320.66°)
OKLaboklab(52.88% 0.1621 -0.1491)
OKLCHoklch(52.88% 0.22 317.4)
XYZxyz(23.6868, 12.5012, 48.7325)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2CBC #4CBC2C
analogous
#542CBC #9C2CBC #BC2C94
triadic
#9C2CBC #BC9C2C #2CBC9C
tetradic
#9C2CBC #BC542C #4CBC2C #2C94BC
square
#9C2CBC #BC542C #4CBC2C #2C94BC
split-complementary
#9C2CBC #94BC2C #2CBC54
monochromatic
#4A1559 #73208A #9C2CBC #B84FD6 #CC81E1

Accessibility & contrast

On white

6.00
#9C2CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9C2CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2CBC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2CBC#FFFFFF#000000##FFFFFF
##9C2CBC1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#3066B9
Tritanopia (blue-blind)
#9B4C73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c2cbc;
/* rgb */ color: rgb(156, 44, 188);
/* oklch */ color: oklch(52.9% 0.220 317.4);
Tailwind
colors: {
  custom: {
    50: '#be72d1',
    500: '#9c2cbc',
    950: '#000000',
  },
}
SCSS
$custom: #9c2cbc;
$custom-light: #be72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2cbc",
  "rgb": {
    "r": 156,
    "g": 44,
    "b": 188
  },
  "hsl": {
    "h": 286.667,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52881,
    "c": 0.22025,
    "h": 317.4
  },
  "luminance": 0.125
}

Semantic roles & 50–950 ramp

primary
#9C2CBC
secondary
#8BCA79
accent
#E54367
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9C2CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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