#9C1D9B#9C1D9B

#9C1D9B is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.208 H 328.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9C1D9B
RGBrgb(156, 29, 155)
HSLhsl(300, 69%, 36%)
HSVhsv(300, 81%, 61%)
CMYKcmyk(0%, 81.4%, 0.6%, 38.8%)
CIE-LABlab(38.40, 63.23, -39.09)
CIE-LCHlch(38.40, 74.34, 328.28°)
OKLaboklab(49.67% 0.1771 -0.1084)
OKLCHoklch(49.67% 0.208 328.5)
XYZxyz(20.0659, 10.3148, 31.9381)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1D9B #1D9C1E
analogous
#5E1D9C #9C1D9B #9C1D5C
triadic
#9C1D9B #9B9C1D #1D9B9C
tetradic
#9C1D9B #9C5E1D #1D9C1E #1D5C9C
square
#9C1D9B #9C5E1D #1D9C1E #1D5C9C
split-complementary
#9C1D9B #5C9C1D #1D9C5E
monochromatic
#350A34 #681368 #9C1D9B #D027CE #DF54DE

Accessibility & contrast

On white

6.86
#9C1D9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9C1D9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C1D9B
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1D9B#FFFFFF#000000##FFFFFF
##9C1D9B1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#446098
Tritanopia (blue-blind)
#A1345D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c1d9b;
/* rgb */ color: rgb(156, 29, 155);
/* oklch */ color: oklch(49.7% 0.208 328.5);
Tailwind
colors: {
  custom: {
    50: '#bd6bb9',
    500: '#9c1d9b',
    950: '#000000',
  },
}
SCSS
$custom: #9c1d9b;
$custom-light: #bd6bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1d9b",
  "rgb": {
    "r": 156,
    "g": 29,
    "b": 155
  },
  "hsl": {
    "h": 300.472,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49667,
    "c": 0.20762,
    "h": 328.5
  },
  "luminance": 0.10313
}

Semantic roles & 50–950 ramp

primary
#9C1D9B
secondary
#52C253
accent
#EB3E3C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C1D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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