#9C1B99#9C1B99

#9C1B99 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.208 H 329.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9C1B99
RGBrgb(156, 27, 153)
HSLhsl(301, 70%, 36%)
HSVhsv(301, 83%, 61%)
CMYKcmyk(0%, 82.7%, 1.9%, 38.8%)
CIE-LABlab(38.12, 63.40, -38.33)
CIE-LCHlch(38.12, 74.09, 328.84°)
OKLaboklab(49.43% 0.1785 -0.1062)
OKLCHoklch(49.43% 0.208 329.3)
XYZxyz(19.8519, 10.1533, 31.0450)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1B99 #1B9C1E
analogous
#5E1B9C #9C1B99 #9C1B58
triadic
#9C1B99 #999C1B #1B999C
tetradic
#9C1B99 #9C5E1B #1B9C1E #1B589C
square
#9C1B99 #9C5E1B #1B9C1E #1B589C
split-complementary
#9C1B99 #589C1B #1B9C5E
monochromatic
#340933 #681266 #9C1B99 #D024CC #E151DD

Accessibility & contrast

On white

6.93
#9C1B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9C1B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C1B99
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1B99#FFFFFF#000000##FFFFFF
##9C1B991.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#455F96
Tritanopia (blue-blind)
#A2315C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c1b99;
/* rgb */ color: rgb(156, 27, 153);
/* oklch */ color: oklch(49.4% 0.208 329.3);
Tailwind
colors: {
  custom: {
    50: '#bd6ab7',
    500: '#9c1b99',
    950: '#000000',
  },
}
SCSS
$custom: #9c1b99;
$custom-light: #bd6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1b99",
  "rgb": {
    "r": 156,
    "g": 27,
    "b": 153
  },
  "hsl": {
    "h": 301.395,
    "s": 70.492,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49426,
    "c": 0.20773,
    "h": 329.3
  },
  "luminance": 0.10152
}

Semantic roles & 50–950 ramp

primary
#9C1B99
secondary
#4FC352
accent
#ED3F3B
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9C1B99

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

Preview Lab → · Contrast checker → · Palette generator →

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