#9C1D8F#9C1D8F

#9C1D8F is a mid, vivid purple. Relative luminance 0.099; OKLCH L 49.0% C 0.199 H 333.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9C1D8F
RGBrgb(156, 29, 143)
HSLhsl(306, 69%, 36%)
HSVhsv(306, 81%, 61%)
CMYKcmyk(0%, 81.4%, 8.3%, 38.8%)
CIE-LABlab(37.72, 61.36, -32.86)
CIE-LCHlch(37.72, 69.60, 331.83°)
OKLaboklab(48.96% 0.1772 -0.0904)
OKLCHoklch(48.96% 0.199 333)
XYZxyz(19.1077, 9.9315, 26.8919)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1D8F #1D9C2A
analogous
#6A1D9C #9C1D8F #9C1D50
triadic
#9C1D8F #8F9C1D #1D8F9C
tetradic
#9C1D8F #9C6A1D #1D9C2A #1D509C
square
#9C1D8F #9C6A1D #1D9C2A #1D509C
split-complementary
#9C1D8F #509C1D #1D9C6A
monochromatic
#350A30 #681360 #9C1D8F #D027BE #DF54D1

Accessibility & contrast

On white

7.03
#9C1D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9C1D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1D8F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1D8F#FFFFFF#000000##FFFFFF
##9C1D8F1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D92
Deuteranopia (green-blind)
#4B5F8C
Tritanopia (blue-blind)
#A32D56
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c1d8f;
/* rgb */ color: rgb(156, 29, 143);
/* oklch */ color: oklch(49.0% 0.199 333.0);
Tailwind
colors: {
  custom: {
    50: '#bd6ab0',
    500: '#9c1d8f',
    950: '#000000',
  },
}
SCSS
$custom: #9c1d8f;
$custom-light: #bd6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1d8f",
  "rgb": {
    "r": 156,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 306.142,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48961,
    "c": 0.19891,
    "h": 333
  },
  "luminance": 0.0993
}

Semantic roles & 50–950 ramp

primary
#9C1D8F
secondary
#52C25E
accent
#EB4E3C
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9C1D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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