#9D1A96#9D1A96

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

Color values

HEX#9D1A96
RGBrgb(157, 26, 150)
HSLhsl(303, 72%, 36%)
HSVhsv(303, 83%, 62%)
CMYKcmyk(0%, 83.4%, 4.5%, 38.4%)
CIE-LABlab(38.04, 63.36, -36.62)
CIE-LCHlch(38.04, 73.18, 329.98°)
OKLaboklab(49.35% 0.1803 -0.1012)
OKLCHoklch(49.35% 0.207 330.7)
XYZxyz(19.7790, 10.1105, 29.7581)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A96 #1A9D21
analogous
#621A9D #9D1A96 #9D1A54
triadic
#9D1A96 #969D1A #1A969D
tetradic
#9D1A96 #9D621A #1A9D21 #1A549D
square
#9D1A96 #9D621A #1A9D21 #1A549D
split-complementary
#9D1A96 #549D1A #1A9D62
monochromatic
#340932 #681164 #9D1A96 #D223C8 #E24FDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D1A96#FFFFFF#000000##FFFFFF
##9D1A961.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)
#004E99
Deuteranopia (green-blind)
#476093
Tritanopia (blue-blind)
#A32F5A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d1a96;
/* rgb */ color: rgb(157, 26, 150);
/* oklch */ color: oklch(49.4% 0.207 330.7);
Tailwind
colors: {
  custom: {
    50: '#be6ab5',
    500: '#9d1a96',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a96;
$custom-light: #be6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a96",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 150
  },
  "hsl": {
    "h": 303.206,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4935,
    "c": 0.20678,
    "h": 330.7
  },
  "luminance": 0.10109
}

Semantic roles & 50–950 ramp

primary
#9D1A96
secondary
#4EC455
accent
#EE4339
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1A96

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

Preview Lab → · Contrast checker → · Palette generator →

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