#9C1D8D#9C1D8D

#9C1D8D is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.198 H 333.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9C1D8D
RGBrgb(156, 29, 141)
HSLhsl(307, 69%, 36%)
HSVhsv(307, 81%, 61%)
CMYKcmyk(0%, 81.4%, 9.6%, 38.8%)
CIE-LABlab(37.61, 61.06, -31.81)
CIE-LCHlch(37.61, 68.84, 332.48°)
OKLaboklab(48.85% 0.1772 -0.0873)
OKLCHoklch(48.85% 0.198 333.8)
XYZxyz(18.9576, 9.8714, 26.1011)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1D8D #1D9C2C
analogous
#6C1D9C #9C1D8D #9C1D4E
triadic
#9C1D8D #8D9C1D #1D8D9C
tetradic
#9C1D8D #9C6C1D #1D9C2C #1D4E9C
square
#9C1D8D #9C6C1D #1D9C2C #1D4E9C
split-complementary
#9C1D8D #4E9C1D #1D9C6C
monochromatic
#350A30 #68135E #9C1D8D #D027BC #DF54CF

Accessibility & contrast

On white

7.06
#9C1D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9C1D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1D8D
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1D8D#FFFFFF#000000##FFFFFF
##9C1D8D1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184D90
Deuteranopia (green-blind)
#4C5F8A
Tritanopia (blue-blind)
#A42C55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c1d8d;
/* rgb */ color: rgb(156, 29, 141);
/* oklch */ color: oklch(48.8% 0.198 333.8);
Tailwind
colors: {
  custom: {
    50: '#bd6aaf',
    500: '#9c1d8d',
    950: '#000000',
  },
}
SCSS
$custom: #9c1d8d;
$custom-light: #bd6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1d8d",
  "rgb": {
    "r": 156,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 307.087,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48849,
    "c": 0.1975,
    "h": 333.8
  },
  "luminance": 0.0987
}

Semantic roles & 50–950 ramp

primary
#9C1D8D
secondary
#52C260
accent
#EB513C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9C1D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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