#9D1D9C#9D1D9C

#9D1D9C is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.209 H 328.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9D1D9C
RGBrgb(157, 29, 156)
HSLhsl(300, 69%, 36%)
HSVhsv(300, 82%, 62%)
CMYKcmyk(0%, 81.5%, 0.6%, 38.4%)
CIE-LABlab(38.64, 63.59, -39.31)
CIE-LCHlch(38.64, 74.76, 328.28°)
OKLaboklab(49.89% 0.1781 -0.109)
OKLCHoklch(49.89% 0.209 328.5)
XYZxyz(20.3445, 10.4487, 32.3913)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D9C #1D9D1E
analogous
#5E1D9D #9D1D9C #9D1D5C
triadic
#9D1D9C #9C9D1D #1D9C9D
tetradic
#9D1D9C #9D5E1D #1D9D1E #1D5C9D
square
#9D1D9C #9D5E1D #1D9D1E #1D5C9D
split-complementary
#9D1D9C #5C9D1D #1D9D5E
monochromatic
#360A35 #691369 #9D1D9C #D127CF #E055DE

Accessibility & contrast

On white

6.80
#9D1D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9D1D9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1D9C
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D9C#FFFFFF#000000##FFFFFF
##9D1D9C1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#446199
Tritanopia (blue-blind)
#A2345E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d1d9c;
/* rgb */ color: rgb(157, 29, 156);
/* oklch */ color: oklch(49.9% 0.209 328.5);
Tailwind
colors: {
  custom: {
    50: '#be6bba',
    500: '#9d1d9c',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d9c;
$custom-light: #be6bba;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d9c",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 300.469,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49885,
    "c": 0.2088,
    "h": 328.5
  },
  "luminance": 0.10447
}

Semantic roles & 50–950 ramp

primary
#9D1D9C
secondary
#53C354
accent
#EC3E3C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D1D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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