#9D1B94#9D1B94

#9D1B94 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.205 H 331.4°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9D1B94
RGBrgb(157, 27, 148)
HSLhsl(304, 71%, 36%)
HSVhsv(304, 83%, 62%)
CMYKcmyk(0%, 82.8%, 5.7%, 38.4%)
CIE-LABlab(38.01, 62.82, -35.45)
CIE-LCHlch(38.01, 72.14, 330.56°)
OKLaboklab(49.29% 0.1797 -0.0978)
OKLCHoklch(49.29% 0.205 331.4)
XYZxyz(19.6419, 10.0917, 28.9246)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1B94 #1B9D24
analogous
#651B9D #9D1B94 #9D1B53
triadic
#9D1B94 #949D1B #1B949D
tetradic
#9D1B94 #9D651B #1B9D24 #1B539D
square
#9D1B94 #9D651B #1B9D24 #1B539D
split-complementary
#9D1B94 #539D1B #1B9D65
monochromatic
#350932 #691263 #9D1B94 #D124C5 #E151D7

Accessibility & contrast

On white

6.96
#9D1B94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9D1B94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1B94
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1B94#FFFFFF#000000##FFFFFF
##9D1B941.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074E97
Deuteranopia (green-blind)
#496091
Tritanopia (blue-blind)
#A42E59
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1b94;
/* rgb */ color: rgb(157, 27, 148);
/* oklch */ color: oklch(49.3% 0.205 331.4);
Tailwind
colors: {
  custom: {
    50: '#be6ab4',
    500: '#9d1b94',
    950: '#000000',
  },
}
SCSS
$custom: #9d1b94;
$custom-light: #be6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1b94",
  "rgb": {
    "r": 157,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 304.154,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49289,
    "c": 0.20458,
    "h": 331.4
  },
  "luminance": 0.1009
}

Semantic roles & 50–950 ramp

primary
#9D1B94
secondary
#50C458
accent
#ED473A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1B94

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

Preview Lab → · Contrast checker → · Palette generator →

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