#9D1B91#9D1B91

#9D1B91 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.202 H 332.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9D1B91
RGBrgb(157, 27, 145)
HSLhsl(306, 71%, 36%)
HSVhsv(306, 83%, 62%)
CMYKcmyk(0%, 82.8%, 7.6%, 38.4%)
CIE-LABlab(37.84, 62.36, -33.89)
CIE-LCHlch(37.84, 70.98, 331.48°)
OKLaboklab(49.12% 0.1797 -0.0933)
OKLCHoklch(49.12% 0.202 332.6)
XYZxyz(19.4075, 9.9980, 27.6902)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1B91 #1B9D27
analogous
#681B9D #9D1B91 #9D1B50
triadic
#9D1B91 #919D1B #1B919D
tetradic
#9D1B91 #9D681B #1B9D27 #1B509D
square
#9D1B91 #9D681B #1B9D27 #1B509D
split-complementary
#9D1B91 #509D1B #1B9D68
monochromatic
#350931 #691261 #9D1B91 #D124C1 #E151D4

Accessibility & contrast

On white

7.00
#9D1B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9D1B91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1B91
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1B91#FFFFFF#000000##FFFFFF
##9D1B911.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4E94
Deuteranopia (green-blind)
#4A5F8E
Tritanopia (blue-blind)
#A42C57
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1b91;
/* rgb */ color: rgb(157, 27, 145);
/* oklch */ color: oklch(49.1% 0.202 332.6);
Tailwind
colors: {
  custom: {
    50: '#be6ab2',
    500: '#9d1b91',
    950: '#000000',
  },
}
SCSS
$custom: #9d1b91;
$custom-light: #be6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1b91",
  "rgb": {
    "r": 157,
    "g": 27,
    "b": 145
  },
  "hsl": {
    "h": 305.538,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49116,
    "c": 0.20245,
    "h": 332.6
  },
  "luminance": 0.09996
}

Semantic roles & 50–950 ramp

primary
#9D1B91
secondary
#50C45B
accent
#ED4B3A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1B91

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

Preview Lab → · Contrast checker → · Palette generator →

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