#9C2ABD#9C2ABD

#9C2ABD is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.8% C 0.223 H 317.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9C2ABD
RGBrgb(156, 42, 189)
HSLhsl(287, 64%, 45%)
HSVhsv(287, 78%, 74%)
CMYKcmyk(17.5%, 77.8%, 0%, 25.9%)
CIE-LABlab(41.84, 65.48, -53.82)
CIE-LCHlch(41.84, 84.76, 320.58°)
OKLaboklab(52.79% 0.1636 -0.1516)
OKLCHoklch(52.79% 0.223 317.2)
XYZxyz(23.7222, 12.3990, 49.2779)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2ABD #4BBD2A
analogous
#532ABD #9C2ABD #BD2A94
triadic
#9C2ABD #BD9C2A #2ABD9C
tetradic
#9C2ABD #BD532A #4BBD2A #2A94BD
square
#9C2ABD #BD532A #4BBD2A #2A94BD
split-complementary
#9C2ABD #94BD2A #2ABD53
monochromatic
#491459 #731F8B #9C2ABD #B84DD7 #CC7FE3

Accessibility & contrast

On white

6.04
#9C2ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C2ABD
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2ABD#FFFFFF#000000##FFFFFF
##9C2ABD1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#2D66BA
Tritanopia (blue-blind)
#9A4B73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c2abd;
/* rgb */ color: rgb(156, 42, 189);
/* oklch */ color: oklch(52.8% 0.223 317.2);
Tailwind
colors: {
  custom: {
    50: '#be71d2',
    500: '#9c2abd',
    950: '#000000',
  },
}
SCSS
$custom: #9c2abd;
$custom-light: #be71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2abd",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 286.531,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5279,
    "c": 0.22303,
    "h": 317.2
  },
  "luminance": 0.12398
}

Semantic roles & 50–950 ramp

primary
#9C2ABD
secondary
#8ACB78
accent
#E74166
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C2ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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