#9C2CBD#9C2CBD

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

Color values

HEX#9C2CBD
RGBrgb(156, 44, 189)
HSLhsl(286, 62%, 46%)
HSVhsv(286, 77%, 74%)
CMYKcmyk(17.5%, 76.7%, 0%, 25.9%)
CIE-LABlab(42.07, 64.83, -53.46)
CIE-LCHlch(42.07, 84.03, 320.49°)
OKLaboklab(52.95% 0.1619 -0.1505)
OKLCHoklch(52.95% 0.221 317.1)
XYZxyz(23.7949, 12.5444, 49.3022)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2CBD #4DBD2C
analogous
#532CBD #9C2CBD #BD2C95
triadic
#9C2CBD #BD9C2C #2CBD9C
tetradic
#9C2CBD #BD532C #4DBD2C #2C95BD
square
#9C2CBD #BD532C #4DBD2C #2C95BD
split-complementary
#9C2CBD #95BD2C #2CBD53
monochromatic
#4A155A #73208B #9C2CBD #B850D6 #CC82E2

Accessibility & contrast

On white

5.99
#9C2CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9C2CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2CBD
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2CBD#FFFFFF#000000##FFFFFF
##9C2CBD1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#2E66BA
Tritanopia (blue-blind)
#9A4C74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c2cbd;
/* rgb */ color: rgb(156, 44, 189);
/* oklch */ color: oklch(52.9% 0.221 317.1);
Tailwind
colors: {
  custom: {
    50: '#be72d2',
    500: '#9c2cbd',
    950: '#000000',
  },
}
SCSS
$custom: #9c2cbd;
$custom-light: #be72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2cbd",
  "rgb": {
    "r": 156,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 286.345,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52949,
    "c": 0.2211,
    "h": 317.1
  },
  "luminance": 0.12543
}

Semantic roles & 50–950 ramp

primary
#9C2CBD
secondary
#8CCB7A
accent
#E54268
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C2CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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