#9C2AA9#9C2AA9

#9C2AA9 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.206 H 323.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9C2AA9
RGBrgb(156, 42, 169)
HSLhsl(294, 60%, 41%)
HSVhsv(294, 75%, 66%)
CMYKcmyk(7.7%, 75.1%, 0%, 33.7%)
CIE-LABlab(40.56, 61.81, -44.06)
CIE-LCHlch(40.56, 75.91, 324.51°)
OKLaboklab(51.47% 0.1658 -0.123)
OKLCHoklch(51.47% 0.206 323.4)
XYZxyz(21.6990, 11.5897, 38.6225)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2AA9 #37A92A
analogous
#5D2AA9 #9C2AA9 #A92A77
triadic
#9C2AA9 #A99C2A #2AA99C
tetradic
#9C2AA9 #A95D2A #37A92A #2A77A9
square
#9C2AA9 #A95D2A #37A92A #2A77A9
split-complementary
#9C2AA9 #77A92A #2AA95D
monochromatic
#421247 #6F1E78 #9C2AA9 #C141D0 #D172DC

Accessibility & contrast

On white

6.33
#9C2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C2AA9
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2AA9#FFFFFF#000000##FFFFFF
##9C2AA91.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#4064A6
Tritanopia (blue-blind)
#9F4268
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c2aa9;
/* rgb */ color: rgb(156, 42, 169);
/* oklch */ color: oklch(51.5% 0.206 323.4);
Tailwind
colors: {
  custom: {
    50: '#bd70c3',
    500: '#9c2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #9c2aa9;
$custom-light: #bd70c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2aa9",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 293.858,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51468,
    "c": 0.20641,
    "h": 323.4
  },
  "luminance": 0.11588
}

Semantic roles & 50–950 ramp

primary
#9C2AA9
secondary
#75C36C
accent
#E34455
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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