#9D1B93#9D1B93

#9D1B93 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.2% C 0.204 H 331.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9D1B93
RGBrgb(157, 27, 147)
HSLhsl(305, 71%, 36%)
HSVhsv(305, 83%, 62%)
CMYKcmyk(0%, 82.8%, 6.4%, 38.4%)
CIE-LABlab(37.95, 62.67, -34.93)
CIE-LCHlch(37.95, 71.75, 330.86°)
OKLaboklab(49.23% 0.1797 -0.0963)
OKLCHoklch(49.23% 0.204 331.8)
XYZxyz(19.5631, 10.0602, 28.5096)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1B93 #1B9D25
analogous
#661B9D #9D1B93 #9D1B52
triadic
#9D1B93 #939D1B #1B939D
tetradic
#9D1B93 #9D661B #1B9D25 #1B529D
square
#9D1B93 #9D661B #1B9D25 #1B529D
split-complementary
#9D1B93 #529D1B #1B9D66
monochromatic
#350931 #691262 #9D1B93 #D124C4 #E151D6

Accessibility & contrast

On white

6.97
#9D1B93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9D1B93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1B93
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1B93#FFFFFF#000000##FFFFFF
##9D1B931.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4E96
Deuteranopia (green-blind)
#495F90
Tritanopia (blue-blind)
#A42E58
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1b93;
/* rgb */ color: rgb(157, 27, 147);
/* oklch */ color: oklch(49.2% 0.204 331.8);
Tailwind
colors: {
  custom: {
    50: '#be6ab3',
    500: '#9d1b93',
    950: '#000000',
  },
}
SCSS
$custom: #9d1b93;
$custom-light: #be6ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1b93",
  "rgb": {
    "r": 157,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 304.615,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49231,
    "c": 0.20386,
    "h": 331.8
  },
  "luminance": 0.10059
}

Semantic roles & 50–950 ramp

primary
#9D1B93
secondary
#50C459
accent
#ED483A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1B93

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

Preview Lab → · Contrast checker → · Palette generator →

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