#9C1D9C#9C1D9C

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

Color values

HEX#9C1D9C
RGBrgb(156, 29, 156)
HSLhsl(300, 69%, 36%)
HSVhsv(300, 81%, 61%)
CMYKcmyk(0%, 81.4%, 0%, 38.8%)
CIE-LABlab(38.46, 63.39, -39.60)
CIE-LCHlch(38.46, 74.75, 328.01°)
OKLaboklab(49.73% 0.177 -0.1099)
OKLCHoklch(49.73% 0.208 328.2)
XYZxyz(20.1502, 10.3485, 32.3822)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1D9C #1D9C1D
analogous
#5D1D9C #9C1D9C #9C1D5D
triadic
#9C1D9C #9C9C1D #1D9C9C
tetradic
#9C1D9C #9C5D1D #1D9C1D #1D5D9C
square
#9C1D9C #9C5D1D #1D9C1D #1D5D9C
split-complementary
#9C1D9C #5D9C1D #1D9C5D
monochromatic
#350A35 #681368 #9C1D9C #D027D0 #DF54DF

Accessibility & contrast

On white

6.84
#9C1D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9C1D9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C1D9C
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1D9C#FFFFFF#000000##FFFFFF
##9C1D9C1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#436099
Tritanopia (blue-blind)
#A1345E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c1d9c;
/* rgb */ color: rgb(156, 29, 156);
/* oklch */ color: oklch(49.7% 0.208 328.2);
Tailwind
colors: {
  custom: {
    50: '#bd6bba',
    500: '#9c1d9c',
    950: '#000000',
  },
}
SCSS
$custom: #9c1d9c;
$custom-light: #bd6bba;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1d9c",
  "rgb": {
    "r": 156,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 300,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49728,
    "c": 0.20836,
    "h": 328.2
  },
  "luminance": 0.10347
}

Semantic roles & 50–950 ramp

primary
#9C1D9C
secondary
#52C252
accent
#EB3C3C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C1D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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