#9D1891#9D1891

#9D1891 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.9% C 0.205 H 332.6°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9D1891
RGBrgb(157, 24, 145)
HSLhsl(305, 73%, 35%)
HSVhsv(305, 85%, 62%)
CMYKcmyk(0%, 84.7%, 7.6%, 38.4%)
CIE-LABlab(37.60, 63.05, -34.26)
CIE-LCHlch(37.60, 71.76, 331.48°)
OKLaboklab(48.95% 0.1817 -0.0943)
OKLCHoklch(48.95% 0.205 332.6)
XYZxyz(19.3422, 9.8674, 27.6685)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1891 #189D24
analogous
#67189D #9D1891 #9D184E
triadic
#9D1891 #919D18 #18919D
tetradic
#9D1891 #9D6718 #189D24 #184E9D
square
#9D1891 #9D6718 #189D24 #184E9D
split-complementary
#9D1891 #4E9D18 #189D67
monochromatic
#33082F #681060 #9D1891 #D220C2 #E44CD6

Accessibility & contrast

On white

7.06
#9D1891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9D1891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1891
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1891#FFFFFF#000000##FFFFFF
##9D18911.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4D94
Deuteranopia (green-blind)
#495F8E
Tritanopia (blue-blind)
#A42B56
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d1891;
/* rgb */ color: rgb(157, 24, 145);
/* oklch */ color: oklch(48.9% 0.205 332.6);
Tailwind
colors: {
  custom: {
    50: '#be69b2',
    500: '#9d1891',
    950: '#000000',
  },
}
SCSS
$custom: #9d1891;
$custom-light: #be69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1891",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 145
  },
  "hsl": {
    "h": 305.414,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48948,
    "c": 0.20472,
    "h": 332.6
  },
  "luminance": 0.09866
}

Semantic roles & 50–950 ramp

primary
#9D1891
secondary
#4BC556
accent
#F04838
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1891

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

Preview Lab → · Contrast checker → · Palette generator →

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