#9C2AA4#9C2AA4

#9C2AA4 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.202 H 325.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9C2AA4
RGBrgb(156, 42, 164)
HSLhsl(296, 59%, 40%)
HSVhsv(296, 74%, 64%)
CMYKcmyk(4.9%, 74.4%, 0%, 35.7%)
CIE-LABlab(40.26, 60.93, -41.56)
CIE-LCHlch(40.26, 73.75, 325.71°)
OKLaboklab(51.16% 0.166 -0.1157)
OKLCHoklch(51.16% 0.202 325.1)
XYZxyz(21.2386, 11.4056, 36.1976)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2AA4 #32A42A
analogous
#5F2AA4 #9C2AA4 #A42A6F
triadic
#9C2AA4 #A49C2A #2AA49C
tetradic
#9C2AA4 #A45F2A #32A42A #2A6FA4
square
#9C2AA4 #A45F2A #32A42A #2A6FA4
split-complementary
#9C2AA4 #6FA42A #2AA45F
monochromatic
#3F1143 #6E1E73 #9C2AA4 #C43ECD #D36EDA

Accessibility & contrast

On white

6.40
#9C2AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9C2AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2AA4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2AA4#FFFFFF#000000##FFFFFF
##9C2AA41.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#4464A1
Tritanopia (blue-blind)
#A03F65
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c2aa4;
/* rgb */ color: rgb(156, 42, 164);
/* oklch */ color: oklch(51.2% 0.202 325.1);
Tailwind
colors: {
  custom: {
    50: '#bd70bf',
    500: '#9c2aa4',
    950: '#000000',
  },
}
SCSS
$custom: #9c2aa4;
$custom-light: #bd70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2aa4",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 296.066,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51157,
    "c": 0.20234,
    "h": 325.1
  },
  "luminance": 0.11404
}

Semantic roles & 50–950 ramp

primary
#9C2AA4
secondary
#6FC169
accent
#E24550
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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