#9C2AA6#9C2AA6

#9C2AA6 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.204 H 324.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9C2AA6
RGBrgb(156, 42, 166)
HSLhsl(295, 60%, 41%)
HSVhsv(295, 75%, 65%)
CMYKcmyk(6%, 74.7%, 0%, 34.9%)
CIE-LABlab(40.37, 61.28, -42.56)
CIE-LCHlch(40.37, 74.61, 325.22°)
OKLaboklab(51.28% 0.1659 -0.1186)
OKLCHoklch(51.28% 0.204 324.4)
XYZxyz(21.4206, 11.4784, 37.1563)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2AA6 #34A62A
analogous
#5E2AA6 #9C2AA6 #A62A72
triadic
#9C2AA6 #A69C2A #2AA69C
tetradic
#9C2AA6 #A65E2A #34A62A #2A72A6
square
#9C2AA6 #A65E2A #34A62A #2A72A6
split-complementary
#9C2AA6 #72A62A #2AA65E
monochromatic
#401144 #6E1E75 #9C2AA6 #C33FCE #D270DB

Accessibility & contrast

On white

6.37
#9C2AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9C2AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2AA6
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2AA6#FFFFFF#000000##FFFFFF
##9C2AA61.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#4264A3
Tritanopia (blue-blind)
#9F4066
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c2aa6;
/* rgb */ color: rgb(156, 42, 166);
/* oklch */ color: oklch(51.3% 0.204 324.4);
Tailwind
colors: {
  custom: {
    50: '#bd70c1',
    500: '#9c2aa6',
    950: '#000000',
  },
}
SCSS
$custom: #9c2aa6;
$custom-light: #bd70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2aa6",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 295.161,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5128,
    "c": 0.20397,
    "h": 324.4
  },
  "luminance": 0.11477
}

Semantic roles & 50–950 ramp

primary
#9C2AA6
secondary
#71C26A
accent
#E34552
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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