#9C2B99#9C2B99

#9C2B99 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.192 H 329.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9C2B99
RGBrgb(156, 43, 153)
HSLhsl(302, 57%, 39%)
HSVhsv(302, 72%, 61%)
CMYKcmyk(0%, 72.4%, 1.9%, 38.8%)
CIE-LABlab(39.74, 58.72, -35.75)
CIE-LCHlch(39.74, 68.74, 328.67°)
OKLaboklab(50.59% 0.1652 -0.0988)
OKLCHoklch(50.59% 0.192 329.1)
XYZxyz(20.3238, 11.0971, 31.2023)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2B99 #2B9C2E
analogous
#672B9C #9C2B99 #9C2B61
triadic
#9C2B99 #999C2B #2B999C
tetradic
#9C2B99 #9C672B #2B9C2E #2B619C
square
#9C2B99 #9C672B #2B9C2E #2B619C
split-complementary
#9C2B99 #619C2B #2B9C67
monochromatic
#3C113B #6C1E6A #9C2B99 #C93BC5 #D66BD3

Accessibility & contrast

On white

6.52
#9C2B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9C2B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2B99
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2B99#FFFFFF#000000##FFFFFF
##9C2B991.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c2b99;
/* rgb */ color: rgb(156, 43, 153);
/* oklch */ color: oklch(50.6% 0.192 329.1);
Tailwind
colors: {
  custom: {
    50: '#bd70b7',
    500: '#9c2b99',
    950: '#000000',
  },
}
SCSS
$custom: #9c2b99;
$custom-light: #bd70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2b99",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 301.593,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50587,
    "c": 0.19247,
    "h": 329.1
  },
  "luminance": 0.11096
}

Semantic roles & 50–950 ramp

primary
#9C2B99
secondary
#66BD68
accent
#E04C48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2B99

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

Preview Lab → · Contrast checker → · Palette generator →

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