#9C2A96#9C2A96

#9C2A96 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.191 H 330.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9C2A96
RGBrgb(156, 42, 150)
HSLhsl(303, 58%, 39%)
HSVhsv(303, 73%, 61%)
CMYKcmyk(0%, 73.1%, 3.8%, 38.8%)
CIE-LABlab(39.46, 58.57, -34.38)
CIE-LCHlch(39.46, 67.91, 329.58°)
OKLaboklab(50.33% 0.1661 -0.0948)
OKLCHoklch(50.33% 0.191 330.3)
XYZxyz(20.0432, 10.9274, 29.9018)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2A96 #2A9C30
analogous
#692A9C #9C2A96 #9C2A5D
triadic
#9C2A96 #969C2A #2A969C
tetradic
#9C2A96 #9C692A #2A9C30 #2A5D9C
square
#9C2A96 #9C692A #2A9C30 #2A5D9C
split-complementary
#9C2A96 #5D9C2A #2A9C69
monochromatic
#3C1039 #6C1D68 #9C2A96 #CA39C2 #D76AD1

Accessibility & contrast

On white

6.59
#9C2A96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9C2A96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2A96
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2A96#FFFFFF#000000##FFFFFF
##9C2A961.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5399
Deuteranopia (green-blind)
#4C6293
Tritanopia (blue-blind)
#A2395D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c2a96;
/* rgb */ color: rgb(156, 42, 150);
/* oklch */ color: oklch(50.3% 0.191 330.3);
Tailwind
colors: {
  custom: {
    50: '#bd6fb5',
    500: '#9c2a96',
    950: '#000000',
  },
}
SCSS
$custom: #9c2a96;
$custom-light: #bd6fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2a96",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 303.158,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50329,
    "c": 0.19126,
    "h": 330.3
  },
  "luminance": 0.10926
}

Semantic roles & 50–950 ramp

primary
#9C2A96
secondary
#65BD69
accent
#E14F47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2A96

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

Preview Lab → · Contrast checker → · Palette generator →

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