#9D1A9F#9D1A9F

#9D1A9F is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.213 H 327.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9D1A9F
RGBrgb(157, 26, 159)
HSLhsl(299, 72%, 36%)
HSVhsv(299, 84%, 62%)
CMYKcmyk(1.3%, 83.6%, 0%, 37.6%)
CIE-LABlab(38.57, 64.79, -41.23)
CIE-LCHlch(38.57, 76.79, 327.53°)
OKLaboklab(49.9% 0.1799 -0.1146)
OKLCHoklch(49.9% 0.213 327.5)
XYZxyz(20.5317, 10.4116, 33.7224)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A9F #1C9F1A
analogous
#5B1A9F #9D1A9F #9F1A5F
triadic
#9D1A9F #9F9D1A #1A9F9D
tetradic
#9D1A9F #9F5B1A #1C9F1A #1A5F9F
square
#9D1A9F #9F5B1A #1C9F1A #1A5F9F
split-complementary
#9D1A9F #5F9F1A #1A9F5B
monochromatic
#350936 #69116A #9D1A9F #D123D4 #E051E3

Accessibility & contrast

On white

6.81
#9D1A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9D1A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1A9F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A9F#FFFFFF#000000##FFFFFF
##9D1A9F1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#42609C
Tritanopia (blue-blind)
#A2345F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d1a9f;
/* rgb */ color: rgb(157, 26, 159);
/* oklch */ color: oklch(49.9% 0.213 327.5);
Tailwind
colors: {
  custom: {
    50: '#be6abc',
    500: '#9d1a9f',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a9f;
$custom-light: #be6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a9f",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 299.098,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49897,
    "c": 0.21331,
    "h": 327.5
  },
  "luminance": 0.1041
}

Semantic roles & 50–950 ramp

primary
#9D1A9F
secondary
#51C550
accent
#EF393C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9D1A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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