#9C2ABC#9C2ABC

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

Color values

HEX#9C2ABC
RGBrgb(156, 42, 188)
HSLhsl(287, 63%, 45%)
HSVhsv(287, 78%, 74%)
CMYKcmyk(17%, 77.7%, 0%, 26.3%)
CIE-LABlab(41.78, 65.29, -53.35)
CIE-LCHlch(41.78, 84.31, 320.75°)
OKLaboklab(52.72% 0.1638 -0.1502)
OKLCHoklch(52.72% 0.222 317.5)
XYZxyz(23.6140, 12.3557, 48.7082)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2ABC #4ABC2A
analogous
#532ABC #9C2ABC #BC2A93
triadic
#9C2ABC #BC9C2A #2ABC9C
tetradic
#9C2ABC #BC532A #4ABC2A #2A93BC
square
#9C2ABC #BC532A #4ABC2A #2A93BC
split-complementary
#9C2ABC #93BC2A #2ABC53
monochromatic
#491458 #721F8A #9C2ABC #B94CD7 #CC7EE2

Accessibility & contrast

On white

6.05
#9C2ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9C2ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2ABC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2ABC#FFFFFF#000000##FFFFFF
##9C2ABC1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#2E66B9
Tritanopia (blue-blind)
#9B4B73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c2abc;
/* rgb */ color: rgb(156, 42, 188);
/* oklch */ color: oklch(52.7% 0.222 317.5);
Tailwind
colors: {
  custom: {
    50: '#be71d1',
    500: '#9c2abc',
    950: '#000000',
  },
}
SCSS
$custom: #9c2abc;
$custom-light: #be71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2abc",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 188
  },
  "hsl": {
    "h": 286.849,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52721,
    "c": 0.2222,
    "h": 317.5
  },
  "luminance": 0.12355
}

Semantic roles & 50–950 ramp

primary
#9C2ABC
secondary
#89CB77
accent
#E74166
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9C2ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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