#9C2AA2#9C2AA2

#9C2AA2 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.201 H 325.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9C2AA2
RGBrgb(156, 42, 162)
HSLhsl(297, 59%, 40%)
HSVhsv(297, 74%, 64%)
CMYKcmyk(3.7%, 74.1%, 0%, 36.5%)
CIE-LABlab(40.14, 60.59, -40.55)
CIE-LCHlch(40.14, 72.90, 326.21°)
OKLaboklab(51.04% 0.1661 -0.1127)
OKLCHoklch(51.04% 0.201 325.8)
XYZxyz(21.0594, 11.3339, 35.2539)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2AA2 #30A22A
analogous
#602AA2 #9C2AA2 #A22A6C
triadic
#9C2AA2 #A29C2A #2AA29C
tetradic
#9C2AA2 #A2602A #30A22A #2A6CA2
square
#9C2AA2 #A2602A #30A22A #2A6CA2
split-complementary
#9C2AA2 #6CA22A #2AA260
monochromatic
#3E1141 #6D1D71 #9C2AA2 #C53DCD #D46DD9

Accessibility & contrast

On white

6.43
#9C2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C2AA2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2AA2#FFFFFF#000000##FFFFFF
##9C2AA21.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0356A5
Deuteranopia (green-blind)
#45639F
Tritanopia (blue-blind)
#A03E64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c2aa2;
/* rgb */ color: rgb(156, 42, 162);
/* oklch */ color: oklch(51.0% 0.201 325.8);
Tailwind
colors: {
  custom: {
    50: '#bd70be',
    500: '#9c2aa2',
    950: '#000000',
  },
}
SCSS
$custom: #9c2aa2;
$custom-light: #bd70be;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2aa2",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 297,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.51035,
    "c": 0.20074,
    "h": 325.8
  },
  "luminance": 0.11332
}

Semantic roles & 50–950 ramp

primary
#9C2AA2
secondary
#6CC068
accent
#E2464E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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