#9C1D87#9C1D87

#9C1D87 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.193 H 336.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9C1D87
RGBrgb(156, 29, 135)
HSLhsl(310, 69%, 36%)
HSVhsv(310, 81%, 61%)
CMYKcmyk(0%, 81.4%, 13.5%, 38.8%)
CIE-LABlab(37.29, 60.17, -28.61)
CIE-LCHlch(37.29, 66.63, 334.57°)
OKLaboklab(48.52% 0.1769 -0.0781)
OKLCHoklch(48.52% 0.193 336.2)
XYZxyz(18.5232, 9.6977, 23.8133)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1D87 #1D9C32
analogous
#721D9C #9C1D87 #9C1D48
triadic
#9C1D87 #879C1D #1D879C
tetradic
#9C1D87 #9C721D #1D9C32 #1D489C
square
#9C1D87 #9C721D #1D9C32 #1D489C
split-complementary
#9C1D87 #489C1D #1D9C72
monochromatic
#350A2E #68135A #9C1D87 #D027B4 #DF54C8

Accessibility & contrast

On white

7.14
#9C1D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9C1D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1D87
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1D87#FFFFFF#000000##FFFFFF
##9C1D871.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4C8A
Deuteranopia (green-blind)
#4F5E84
Tritanopia (blue-blind)
#A42852
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c1d87;
/* rgb */ color: rgb(156, 29, 135);
/* oklch */ color: oklch(48.5% 0.193 336.2);
Tailwind
colors: {
  custom: {
    50: '#bd6aaa',
    500: '#9c1d87',
    950: '#000000',
  },
}
SCSS
$custom: #9c1d87;
$custom-light: #bd6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1d87",
  "rgb": {
    "r": 156,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 309.921,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4852,
    "c": 0.19334,
    "h": 336.2
  },
  "luminance": 0.09696
}

Semantic roles & 50–950 ramp

primary
#9C1D87
secondary
#52C265
accent
#EB593C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9C1D87

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

Preview Lab → · Contrast checker → · Palette generator →

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