#9C2CA6#9C2CA6

#9C2CA6 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.202 H 324.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9C2CA6
RGBrgb(156, 44, 166)
HSLhsl(295, 58%, 41%)
HSVhsv(295, 73%, 65%)
CMYKcmyk(6%, 73.5%, 0%, 34.9%)
CIE-LABlab(40.61, 60.60, -42.19)
CIE-LCHlch(40.61, 73.84, 325.16°)
OKLaboklab(51.45% 0.1641 -0.1175)
OKLCHoklch(51.45% 0.202 324.4)
XYZxyz(21.4933, 11.6238, 37.1805)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2CA6 #36A62C
analogous
#5F2CA6 #9C2CA6 #A62C73
triadic
#9C2CA6 #A69C2C #2CA69C
tetradic
#9C2CA6 #A65F2C #36A62C #2C73A6
square
#9C2CA6 #A65F2C #36A62C #2C73A6
split-complementary
#9C2CA6 #73A62C #2CA65F
monochromatic
#411245 #6F1F76 #9C2CA6 #C242CD #D173DA

Accessibility & contrast

On white

6.32
#9C2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9C2CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2CA6
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2CA6#FFFFFF#000000##FFFFFF
##9C2CA61.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4364A3
Tritanopia (blue-blind)
#9F4167
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c2ca6;
/* rgb */ color: rgb(156, 44, 166);
/* oklch */ color: oklch(51.4% 0.202 324.4);
Tailwind
colors: {
  custom: {
    50: '#bd71c1',
    500: '#9c2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ca6;
$custom-light: #bd71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ca6",
  "rgb": {
    "r": 156,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 295.082,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5145,
    "c": 0.20181,
    "h": 324.4
  },
  "luminance": 0.11622
}

Semantic roles & 50–950 ramp

primary
#9C2CA6
secondary
#74C16D
accent
#E14653
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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