#9D1A91#9D1A91

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

Color values

HEX#9D1A91
RGBrgb(157, 26, 145)
HSLhsl(305, 72%, 36%)
HSVhsv(305, 83%, 62%)
CMYKcmyk(0%, 83.4%, 7.6%, 38.4%)
CIE-LABlab(37.76, 62.60, -34.02)
CIE-LCHlch(37.76, 71.24, 331.48°)
OKLaboklab(49.06% 0.1804 -0.0936)
OKLCHoklch(49.06% 0.203 332.6)
XYZxyz(19.3850, 9.9529, 27.6827)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A91 #1A9D26
analogous
#671A9D #9D1A91 #9D1A4F
triadic
#9D1A91 #919D1A #1A919D
tetradic
#9D1A91 #9D671A #1A9D26 #1A4F9D
square
#9D1A91 #9D671A #1A9D26 #1A4F9D
split-complementary
#9D1A91 #4F9D1A #1A9D67
monochromatic
#340930 #681161 #9D1A91 #D223C1 #E24FD5

Accessibility & contrast

On white

7.02
#9D1A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9D1A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1A91
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A91#FFFFFF#000000##FFFFFF
##9D1A911.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1a91;
/* rgb */ color: rgb(157, 26, 145);
/* oklch */ color: oklch(49.1% 0.203 332.6);
Tailwind
colors: {
  custom: {
    50: '#be6ab2',
    500: '#9d1a91',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a91;
$custom-light: #be6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a91",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 145
  },
  "hsl": {
    "h": 305.496,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49058,
    "c": 0.20323,
    "h": 332.6
  },
  "luminance": 0.09951
}

Semantic roles & 50–950 ramp

primary
#9D1A91
secondary
#4EC459
accent
#EE4A39
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1A91

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

Preview Lab → · Contrast checker → · Palette generator →

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