#9D1A99#9D1A99

#9D1A99 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.209 H 329.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9D1A99
RGBrgb(157, 26, 153)
HSLhsl(302, 72%, 36%)
HSVhsv(302, 83%, 62%)
CMYKcmyk(0%, 83.4%, 2.5%, 38.4%)
CIE-LABlab(38.21, 63.83, -38.17)
CIE-LCHlch(38.21, 74.37, 329.12°)
OKLaboklab(49.53% 0.1802 -0.1057)
OKLCHoklch(49.53% 0.209 329.6)
XYZxyz(20.0237, 10.2084, 31.0466)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A99 #1A9D1E
analogous
#5F1A9D #9D1A99 #9D1A57
triadic
#9D1A99 #999D1A #1A999D
tetradic
#9D1A99 #9D5F1A #1A9D1E #1A579D
square
#9D1A99 #9D5F1A #1A9D1E #1A579D
split-complementary
#9D1A99 #579D1A #1A9D5F
monochromatic
#340933 #681166 #9D1A99 #D223CC #E24FDD

Accessibility & contrast

On white

6.90
#9D1A99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9D1A99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1A99
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A99#FFFFFF#000000##FFFFFF
##9D1A991.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#456096
Tritanopia (blue-blind)
#A3315B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d1a99;
/* rgb */ color: rgb(157, 26, 153);
/* oklch */ color: oklch(49.5% 0.209 329.6);
Tailwind
colors: {
  custom: {
    50: '#be6ab7',
    500: '#9d1a99',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a99;
$custom-light: #be6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a99",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 153
  },
  "hsl": {
    "h": 301.832,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49529,
    "c": 0.20893,
    "h": 329.6
  },
  "luminance": 0.10207
}

Semantic roles & 50–950 ramp

primary
#9D1A99
secondary
#4EC452
accent
#EE3F39
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1A99

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

Preview Lab → · Contrast checker → · Palette generator →

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