#9D1996#9D1996

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

Color values

HEX#9D1996
RGBrgb(157, 25, 150)
HSLhsl(303, 73%, 36%)
HSVhsv(303, 84%, 62%)
CMYKcmyk(0%, 84.1%, 4.5%, 38.4%)
CIE-LABlab(37.96, 63.59, -36.74)
CIE-LCHlch(37.96, 73.44, 329.98°)
OKLaboklab(49.3% 0.181 -0.1015)
OKLCHoklch(49.3% 0.208 330.7)
XYZxyz(19.7573, 10.0670, 29.7508)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1996 #199D20
analogous
#62199D #9D1996 #9D1954
triadic
#9D1996 #969D19 #19969D
tetradic
#9D1996 #9D6219 #199D20 #19549D
square
#9D1996 #9D6219 #199D20 #19549D
split-complementary
#9D1996 #549D19 #199D62
monochromatic
#330831 #681164 #9D1996 #D221C8 #E34EDB

Accessibility & contrast

On white

6.97
#9D1996 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9D1996 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1996
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1996#FFFFFF#000000##FFFFFF
##9D19961.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#475F93
Tritanopia (blue-blind)
#A32E59
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1996;
/* rgb */ color: rgb(157, 25, 150);
/* oklch */ color: oklch(49.3% 0.208 330.7);
Tailwind
colors: {
  custom: {
    50: '#be69b5',
    500: '#9d1996',
    950: '#000000',
  },
}
SCSS
$custom: #9d1996;
$custom-light: #be69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1996",
  "rgb": {
    "r": 157,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 303.182,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49295,
    "c": 0.20752,
    "h": 330.7
  },
  "luminance": 0.10065
}

Semantic roles & 50–950 ramp

primary
#9D1996
secondary
#4DC553
accent
#EF4239
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1996

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

Preview Lab → · Contrast checker → · Palette generator →

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