#9C2AA8#9C2AA8

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

Color values

HEX#9C2AA8
RGBrgb(156, 42, 168)
HSLhsl(294, 60%, 41%)
HSVhsv(294, 75%, 66%)
CMYKcmyk(7.1%, 75%, 0%, 34.1%)
CIE-LABlab(40.50, 61.63, -43.57)
CIE-LCHlch(40.50, 75.48, 324.75°)
OKLaboklab(51.41% 0.1658 -0.1215)
OKLCHoklch(51.41% 0.206 323.8)
XYZxyz(21.6055, 11.5523, 38.1300)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2AA8 #36A82A
analogous
#5D2AA8 #9C2AA8 #A82A75
triadic
#9C2AA8 #A89C2A #2AA89C
tetradic
#9C2AA8 #A85D2A #36A82A #2A75A8
square
#9C2AA8 #A85D2A #36A82A #2A75A8
split-complementary
#9C2AA8 #75A82A #2AA85D
monochromatic
#411246 #6F1E77 #9C2AA8 #C240CF #D171DB

Accessibility & contrast

On white

6.34
#9C2AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9C2AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2AA8
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2AA8#FFFFFF#000000##FFFFFF
##9C2AA81.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#4164A5
Tritanopia (blue-blind)
#9F4167
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c2aa8;
/* rgb */ color: rgb(156, 42, 168);
/* oklch */ color: oklch(51.4% 0.206 323.8);
Tailwind
colors: {
  custom: {
    50: '#bd70c2',
    500: '#9c2aa8',
    950: '#000000',
  },
}
SCSS
$custom: #9c2aa8;
$custom-light: #bd70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2aa8",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 294.286,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51405,
    "c": 0.20559,
    "h": 323.8
  },
  "luminance": 0.11551
}

Semantic roles & 50–950 ramp

primary
#9C2AA8
secondary
#74C36B
accent
#E34554
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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