#9C1D8B#9C1D8B

#9C1D8B is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.196 H 334.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9C1D8B
RGBrgb(156, 29, 139)
HSLhsl(308, 69%, 36%)
HSVhsv(308, 81%, 61%)
CMYKcmyk(0%, 81.4%, 10.9%, 38.8%)
CIE-LABlab(37.50, 60.76, -30.75)
CIE-LCHlch(37.50, 68.09, 333.16°)
OKLaboklab(48.74% 0.1771 -0.0843)
OKLCHoklch(48.74% 0.196 334.6)
XYZxyz(18.8101, 9.8124, 25.3244)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1D8B #1D9C2E
analogous
#6E1D9C #9C1D8B #9C1D4C
triadic
#9C1D8B #8B9C1D #1D8B9C
tetradic
#9C1D8B #9C6E1D #1D9C2E #1D4C9C
square
#9C1D8B #9C6E1D #1D9C2E #1D4C9C
split-complementary
#9C1D8B #4C9C1D #1D9C6E
monochromatic
#350A2F #68135D #9C1D8B #D027B9 #DF54CD

Accessibility & contrast

On white

7.09
#9C1D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9C1D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1D8B
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1D8B#FFFFFF#000000##FFFFFF
##9C1D8B1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4D8E
Deuteranopia (green-blind)
#4D5F88
Tritanopia (blue-blind)
#A42A54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c1d8b;
/* rgb */ color: rgb(156, 29, 139);
/* oklch */ color: oklch(48.7% 0.196 334.6);
Tailwind
colors: {
  custom: {
    50: '#bd6aad',
    500: '#9c1d8b',
    950: '#000000',
  },
}
SCSS
$custom: #9c1d8b;
$custom-light: #bd6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1d8b",
  "rgb": {
    "r": 156,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 308.031,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48738,
    "c": 0.1961,
    "h": 334.6
  },
  "luminance": 0.09811
}

Semantic roles & 50–950 ramp

primary
#9C1D8B
secondary
#52C261
accent
#EB543C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9C1D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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