#9C2AA3#9C2AA3

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

Color values

HEX#9C2AA3
RGBrgb(156, 42, 163)
HSLhsl(297, 59%, 40%)
HSVhsv(297, 74%, 64%)
CMYKcmyk(4.3%, 74.2%, 0%, 36.1%)
CIE-LABlab(40.20, 60.76, -41.05)
CIE-LCHlch(40.20, 73.33, 325.95°)
OKLaboklab(51.1% 0.1661 -0.1142)
OKLCHoklch(51.1% 0.202 325.5)
XYZxyz(21.1487, 11.3696, 35.7239)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2AA3 #31A32A
analogous
#602AA3 #9C2AA3 #A32A6D
triadic
#9C2AA3 #A39C2A #2AA39C
tetradic
#9C2AA3 #A3602A #31A32A #2A6DA3
square
#9C2AA3 #A3602A #31A32A #2A6DA3
split-complementary
#9C2AA3 #6DA32A #2AA360
monochromatic
#3F1142 #6D1D72 #9C2AA3 #C53DCD #D36EDA

Accessibility & contrast

On white

6.41
#9C2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9C2AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2AA3
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2AA3#FFFFFF#000000##FFFFFF
##9C2AA31.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A6
Deuteranopia (green-blind)
#4463A0
Tritanopia (blue-blind)
#A03F65
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c2aa3;
/* rgb */ color: rgb(156, 42, 163);
/* oklch */ color: oklch(51.1% 0.202 325.5);
Tailwind
colors: {
  custom: {
    50: '#bd70bf',
    500: '#9c2aa3',
    950: '#000000',
  },
}
SCSS
$custom: #9c2aa3;
$custom-light: #bd70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2aa3",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 296.529,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51096,
    "c": 0.20154,
    "h": 325.5
  },
  "luminance": 0.11368
}

Semantic roles & 50–950 ramp

primary
#9C2AA3
secondary
#6DC068
accent
#E2464F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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