#9D1B95#9D1B95

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

Color values

HEX#9D1B95
RGBrgb(157, 27, 149)
HSLhsl(304, 71%, 36%)
HSVhsv(304, 83%, 62%)
CMYKcmyk(0%, 82.8%, 5.1%, 38.4%)
CIE-LABlab(38.06, 62.98, -35.97)
CIE-LCHlch(38.06, 72.53, 330.26°)
OKLaboklab(49.35% 0.1797 -0.0993)
OKLCHoklch(49.35% 0.205 331.1)
XYZxyz(19.7214, 10.1235, 29.3433)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1B95 #1B9D23
analogous
#641B9D #9D1B95 #9D1B54
triadic
#9D1B95 #959D1B #1B959D
tetradic
#9D1B95 #9D641B #1B9D23 #1B549D
square
#9D1B95 #9D641B #1B9D23 #1B549D
split-complementary
#9D1B95 #549D1B #1B9D64
monochromatic
#350932 #691263 #9D1B95 #D124C7 #E151D8

Accessibility & contrast

On white

6.94
#9D1B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D1B95
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1B95#FFFFFF#000000##FFFFFF
##9D1B951.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044E98
Deuteranopia (green-blind)
#486092
Tritanopia (blue-blind)
#A42F59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d1b95;
/* rgb */ color: rgb(157, 27, 149);
/* oklch */ color: oklch(49.3% 0.205 331.1);
Tailwind
colors: {
  custom: {
    50: '#be6ab4',
    500: '#9d1b95',
    950: '#000000',
  },
}
SCSS
$custom: #9d1b95;
$custom-light: #be6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1b95",
  "rgb": {
    "r": 157,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 303.692,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49348,
    "c": 0.2053,
    "h": 331.1
  },
  "luminance": 0.10122
}

Semantic roles & 50–950 ramp

primary
#9D1B95
secondary
#50C457
accent
#ED453A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1B95

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

Preview Lab → · Contrast checker → · Palette generator →

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