#9D1C93#9D1C93

#9D1C93 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.203 H 331.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9D1C93
RGBrgb(157, 28, 147)
HSLhsl(305, 70%, 36%)
HSVhsv(305, 82%, 62%)
CMYKcmyk(0%, 82.2%, 6.4%, 38.4%)
CIE-LABlab(38.03, 62.43, -34.80)
CIE-LCHlch(38.03, 71.47, 330.86°)
OKLaboklab(49.29% 0.179 -0.0959)
OKLCHoklch(49.29% 0.203 331.8)
XYZxyz(19.5864, 10.1069, 28.5174)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C93 #1C9D26
analogous
#671C9D #9D1C93 #9D1C53
triadic
#9D1C93 #939D1C #1C939D
tetradic
#9D1C93 #9D671C #1C9D26 #1C539D
square
#9D1C93 #9D671C #1C9D26 #1C539D
split-complementary
#9D1C93 #539D1C #1C9D67
monochromatic
#350932 #691362 #9D1C93 #D125C4 #E053D5

Accessibility & contrast

On white

6.95
#9D1C93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9D1C93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1C93
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C93#FFFFFF#000000##FFFFFF
##9D1C931.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4E96
Deuteranopia (green-blind)
#496090
Tritanopia (blue-blind)
#A42E58
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1c93;
/* rgb */ color: rgb(157, 28, 147);
/* oklch */ color: oklch(49.3% 0.203 331.8);
Tailwind
colors: {
  custom: {
    50: '#be6ab3',
    500: '#9d1c93',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c93;
$custom-light: #be6ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c93",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 147
  },
  "hsl": {
    "h": 304.651,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4929,
    "c": 0.20307,
    "h": 331.8
  },
  "luminance": 0.10105
}

Semantic roles & 50–950 ramp

primary
#9D1C93
secondary
#51C35A
accent
#ED493B
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1C93

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

Preview Lab → · Contrast checker → · Palette generator →

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