#9C2AA5#9C2AA5

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

Color values

HEX#9C2AA5
RGBrgb(156, 42, 165)
HSLhsl(296, 59%, 41%)
HSVhsv(296, 75%, 65%)
CMYKcmyk(5.5%, 74.5%, 0%, 35.3%)
CIE-LABlab(40.31, 61.11, -42.06)
CIE-LCHlch(40.31, 74.18, 325.46°)
OKLaboklab(51.22% 0.166 -0.1172)
OKLCHoklch(51.22% 0.203 324.8)
XYZxyz(21.3293, 11.4418, 36.6751)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2AA5 #33A52A
analogous
#5E2AA5 #9C2AA5 #A52A70
triadic
#9C2AA5 #A59C2A #2AA59C
tetradic
#9C2AA5 #A55E2A #33A52A #2A70A5
square
#9C2AA5 #A55E2A #33A52A #2A70A5
split-complementary
#9C2AA5 #70A52A #2AA55E
monochromatic
#401143 #6E1E74 #9C2AA5 #C33ECE #D36FDA

Accessibility & contrast

On white

6.39
#9C2AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9C2AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2AA5
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2AA5#FFFFFF#000000##FFFFFF
##9C2AA51.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#4364A2
Tritanopia (blue-blind)
#9F4066
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c2aa5;
/* rgb */ color: rgb(156, 42, 165);
/* oklch */ color: oklch(51.2% 0.203 324.8);
Tailwind
colors: {
  custom: {
    50: '#bd70c0',
    500: '#9c2aa5',
    950: '#000000',
  },
}
SCSS
$custom: #9c2aa5;
$custom-light: #bd70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2aa5",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 295.61,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51219,
    "c": 0.20316,
    "h": 324.8
  },
  "luminance": 0.1144
}

Semantic roles & 50–950 ramp

primary
#9C2AA5
secondary
#70C169
accent
#E34551
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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