#9C2A97#9C2A97

#9C2A97 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.192 H 329.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9C2A97
RGBrgb(156, 42, 151)
HSLhsl(303, 58%, 39%)
HSVhsv(303, 73%, 61%)
CMYKcmyk(0%, 73.1%, 3.2%, 38.8%)
CIE-LABlab(39.51, 58.73, -34.90)
CIE-LCHlch(39.51, 68.32, 329.28°)
OKLaboklab(50.39% 0.1661 -0.0963)
OKLCHoklch(50.39% 0.192 329.9)
XYZxyz(20.1241, 10.9598, 30.3277)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2A97 #2A9C2F
analogous
#682A9C #9C2A97 #9C2A5E
triadic
#9C2A97 #979C2A #2A979C
tetradic
#9C2A97 #9C682A #2A9C2F #2A5E9C
square
#9C2A97 #9C682A #2A9C2F #2A5E9C
split-complementary
#9C2A97 #5E9C2A #2A9C68
monochromatic
#3C103A #6C1D68 #9C2A97 #CA39C3 #D76AD2

Accessibility & contrast

On white

6.58
#9C2A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9C2A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2A97
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2A97#FFFFFF#000000##FFFFFF
##9C2A971.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C539A
Deuteranopia (green-blind)
#4C6294
Tritanopia (blue-blind)
#A2395E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c2a97;
/* rgb */ color: rgb(156, 42, 151);
/* oklch */ color: oklch(50.4% 0.192 329.9);
Tailwind
colors: {
  custom: {
    50: '#bd6fb6',
    500: '#9c2a97',
    950: '#000000',
  },
}
SCSS
$custom: #9c2a97;
$custom-light: #bd6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2a97",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 302.632,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50386,
    "c": 0.19203,
    "h": 329.9
  },
  "luminance": 0.10958
}

Semantic roles & 50–950 ramp

primary
#9C2A97
secondary
#65BD68
accent
#E14E47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2A97

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

Preview Lab → · Contrast checker → · Palette generator →

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