#9D1A97#9D1A97

#9D1A97 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.207 H 330.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9D1A97
RGBrgb(157, 26, 151)
HSLhsl(303, 72%, 36%)
HSVhsv(303, 83%, 62%)
CMYKcmyk(0%, 83.4%, 3.8%, 38.4%)
CIE-LABlab(38.10, 63.52, -37.14)
CIE-LCHlch(38.10, 73.58, 329.69°)
OKLaboklab(49.41% 0.1803 -0.1027)
OKLCHoklch(49.41% 0.208 330.3)
XYZxyz(19.8599, 10.1429, 30.1840)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A97 #1A9D20
analogous
#611A9D #9D1A97 #9D1A55
triadic
#9D1A97 #979D1A #1A979D
tetradic
#9D1A97 #9D611A #1A9D20 #1A559D
square
#9D1A97 #9D611A #1A9D20 #1A559D
split-complementary
#9D1A97 #559D1A #1A9D61
monochromatic
#340932 #681165 #9D1A97 #D223C9 #E24FDB

Accessibility & contrast

On white

6.93
#9D1A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9D1A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1A97
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A97#FFFFFF#000000##FFFFFF
##9D1A971.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#476094
Tritanopia (blue-blind)
#A32F5A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d1a97;
/* rgb */ color: rgb(157, 26, 151);
/* oklch */ color: oklch(49.4% 0.207 330.3);
Tailwind
colors: {
  custom: {
    50: '#be6ab6',
    500: '#9d1a97',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a97;
$custom-light: #be6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a97",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 302.748,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49409,
    "c": 0.2075,
    "h": 330.3
  },
  "luminance": 0.10141
}

Semantic roles & 50–950 ramp

primary
#9D1A97
secondary
#4EC454
accent
#EE4239
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1A97

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

Preview Lab → · Contrast checker → · Palette generator →

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