#9D1C96#9D1C96

#9D1C96 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.205 H 330.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9D1C96
RGBrgb(157, 28, 150)
HSLhsl(303, 70%, 36%)
HSVhsv(303, 82%, 62%)
CMYKcmyk(0%, 82.2%, 4.5%, 38.4%)
CIE-LABlab(38.20, 62.89, -36.36)
CIE-LCHlch(38.20, 72.64, 329.97°)
OKLaboklab(49.47% 0.179 -0.1005)
OKLCHoklch(49.47% 0.205 330.7)
XYZxyz(19.8249, 10.2023, 29.7733)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C96 #1C9D23
analogous
#641C9D #9D1C96 #9D1C56
triadic
#9D1C96 #969D1C #1C969D
tetradic
#9D1C96 #9D641C #1C9D23 #1C569D
square
#9D1C96 #9D641C #1C9D23 #1C569D
split-complementary
#9D1C96 #569D1C #1C9D64
monochromatic
#350933 #691364 #9D1C96 #D125C8 #E053D9

Accessibility & contrast

On white

6.91
#9D1C96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9D1C96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1C96
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C96#FFFFFF#000000##FFFFFF
##9D1C961.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044F99
Deuteranopia (green-blind)
#486093
Tritanopia (blue-blind)
#A3305A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d1c96;
/* rgb */ color: rgb(157, 28, 150);
/* oklch */ color: oklch(49.5% 0.205 330.7);
Tailwind
colors: {
  custom: {
    50: '#be6ab5',
    500: '#9d1c96',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c96;
$custom-light: #be6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c96",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 303.256,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49466,
    "c": 0.20523,
    "h": 330.7
  },
  "luminance": 0.10201
}

Semantic roles & 50–950 ramp

primary
#9D1C96
secondary
#51C358
accent
#ED453B
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D1C96

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

Preview Lab → · Contrast checker → · Palette generator →

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