#9C1B9D#9C1B9D

#9C1B9D is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.211 H 327.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9C1B9D
RGBrgb(156, 27, 157)
HSLhsl(300, 71%, 36%)
HSVhsv(300, 83%, 62%)
CMYKcmyk(0.6%, 82.8%, 0%, 38.4%)
CIE-LABlab(38.35, 64.04, -40.38)
CIE-LCHlch(38.35, 75.71, 327.77°)
OKLaboklab(49.67% 0.1783 -0.1122)
OKLCHoklch(49.67% 0.211 327.8)
XYZxyz(20.1878, 10.2876, 32.8142)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1B9D #1C9D1B
analogous
#5B1B9D #9C1B9D #9D1B5D
triadic
#9C1B9D #9D9C1B #1B9D9C
tetradic
#9C1B9D #9D5B1B #1C9D1B #1B5D9D
square
#9C1B9D #9D5B1B #1C9D1B #1B5D9D
split-complementary
#9C1B9D #5D9D1B #1B9D5B
monochromatic
#340935 #681269 #9C1B9D #D024D1 #E051E1

Accessibility & contrast

On white

6.87
#9C1B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9C1B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C1B9D
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1B9D#FFFFFF#000000##FFFFFF
##9C1B9D1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#42609A
Tritanopia (blue-blind)
#A1345E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c1b9d;
/* rgb */ color: rgb(156, 27, 157);
/* oklch */ color: oklch(49.7% 0.211 327.8);
Tailwind
colors: {
  custom: {
    50: '#bd6aba',
    500: '#9c1b9d',
    950: '#000000',
  },
}
SCSS
$custom: #9c1b9d;
$custom-light: #bd6aba;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1b9d",
  "rgb": {
    "r": 156,
    "g": 27,
    "b": 157
  },
  "hsl": {
    "h": 299.538,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49671,
    "c": 0.21067,
    "h": 327.8
  },
  "luminance": 0.10286
}

Semantic roles & 50–950 ramp

primary
#9C1B9D
secondary
#51C450
accent
#ED3A3C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9C1B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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