#9C2AA7#9C2AA7

#9C2AA7 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.205 H 324.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9C2AA7
RGBrgb(156, 42, 167)
HSLhsl(295, 60%, 41%)
HSVhsv(295, 75%, 65%)
CMYKcmyk(6.6%, 74.9%, 0%, 34.5%)
CIE-LABlab(40.44, 61.46, -43.07)
CIE-LCHlch(40.44, 75.04, 324.98°)
OKLaboklab(51.34% 0.1659 -0.1201)
OKLCHoklch(51.34% 0.205 324.1)
XYZxyz(21.5127, 11.5152, 37.6413)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2AA7 #35A72A
analogous
#5D2AA7 #9C2AA7 #A72A73
triadic
#9C2AA7 #A79C2A #2AA79C
tetradic
#9C2AA7 #A75D2A #35A72A #2A73A7
square
#9C2AA7 #A75D2A #35A72A #2A73A7
split-complementary
#9C2AA7 #73A72A #2AA75D
monochromatic
#411145 #6E1E76 #9C2AA7 #C23FCF #D270DB

Accessibility & contrast

On white

6.36
#9C2AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9C2AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2AA7
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2AA7#FFFFFF#000000##FFFFFF
##9C2AA71.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#4264A4
Tritanopia (blue-blind)
#9F4167
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c2aa7;
/* rgb */ color: rgb(156, 42, 167);
/* oklch */ color: oklch(51.3% 0.205 324.1);
Tailwind
colors: {
  custom: {
    50: '#bd70c2',
    500: '#9c2aa7',
    950: '#000000',
  },
}
SCSS
$custom: #9c2aa7;
$custom-light: #bd70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2aa7",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 294.72,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51343,
    "c": 0.20478,
    "h": 324.1
  },
  "luminance": 0.11514
}

Semantic roles & 50–950 ramp

primary
#9C2AA7
secondary
#72C26B
accent
#E34553
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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