#9C1B87#9C1B87

#9C1B87 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.195 H 336.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9C1B87
RGBrgb(156, 27, 135)
HSLhsl(310, 70%, 36%)
HSVhsv(310, 83%, 61%)
CMYKcmyk(0%, 82.7%, 13.5%, 38.8%)
CIE-LABlab(37.12, 60.67, -28.89)
CIE-LCHlch(37.12, 67.20, 334.54°)
OKLaboklab(48.4% 0.1784 -0.0789)
OKLCHoklch(48.4% 0.195 336.1)
XYZxyz(18.4757, 9.6028, 23.7975)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1B87 #1B9C30
analogous
#701B9C #9C1B87 #9C1B47
triadic
#9C1B87 #879C1B #1B879C
tetradic
#9C1B87 #9C701B #1B9C30 #1B479C
square
#9C1B87 #9C701B #1B9C30 #1B479C
split-complementary
#9C1B87 #479C1B #1B9C70
monochromatic
#34092D #68125A #9C1B87 #D024B4 #E151C9

Accessibility & contrast

On white

7.19
#9C1B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9C1B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1B87
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1B87#FFFFFF#000000##FFFFFF
##9C1B871.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4B8A
Deuteranopia (green-blind)
#4E5E84
Tritanopia (blue-blind)
#A42751
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c1b87;
/* rgb */ color: rgb(156, 27, 135);
/* oklch */ color: oklch(48.4% 0.195 336.1);
Tailwind
colors: {
  custom: {
    50: '#bd69aa',
    500: '#9c1b87',
    950: '#000000',
  },
}
SCSS
$custom: #9c1b87;
$custom-light: #bd69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1b87",
  "rgb": {
    "r": 156,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 309.767,
    "s": 70.492,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48395,
    "c": 0.19503,
    "h": 336.1
  },
  "luminance": 0.09601
}

Semantic roles & 50–950 ramp

primary
#9C1B87
secondary
#4FC362
accent
#ED583B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9C1B87

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

Preview Lab → · Contrast checker → · Palette generator →

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