#9C2C99#9C2C99

#9C2C99 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.191 H 329.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9C2C99
RGBrgb(156, 44, 153)
HSLhsl(302, 56%, 39%)
HSVhsv(302, 72%, 61%)
CMYKcmyk(0%, 71.8%, 1.9%, 38.8%)
CIE-LABlab(39.87, 58.37, -35.55)
CIE-LCHlch(39.87, 68.34, 328.65°)
OKLaboklab(50.68% 0.1642 -0.0982)
OKLCHoklch(50.68% 0.191 329.1)
XYZxyz(20.3606, 11.1707, 31.2146)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2C99 #2C9C2F
analogous
#672C9C #9C2C99 #9C2C61
triadic
#9C2C99 #999C2C #2C999C
tetradic
#9C2C99 #9C672C #2C9C2F #2C619C
square
#9C2C99 #9C672C #2C9C2F #2C619C
split-complementary
#9C2C99 #619C2C #2C9C67
monochromatic
#3D113B #6C1F6A #9C2C99 #C83DC5 #D66DD3

Accessibility & contrast

On white

6.49
#9C2C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9C2C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2C99
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2C99#FFFFFF#000000##FFFFFF
##9C2C991.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549C
Deuteranopia (green-blind)
#4B6396
Tritanopia (blue-blind)
#A13B60
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c2c99;
/* rgb */ color: rgb(156, 44, 153);
/* oklch */ color: oklch(50.7% 0.191 329.1);
Tailwind
colors: {
  custom: {
    50: '#bd70b7',
    500: '#9c2c99',
    950: '#000000',
  },
}
SCSS
$custom: #9c2c99;
$custom-light: #bd70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2c99",
  "rgb": {
    "r": 156,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 301.607,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50676,
    "c": 0.19132,
    "h": 329.1
  },
  "luminance": 0.11169
}

Semantic roles & 50–950 ramp

primary
#9C2C99
secondary
#67BD69
accent
#DF4D49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2C99

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

Preview Lab → · Contrast checker → · Palette generator →

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