#9D1D91#9D1D91

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

Color values

HEX#9D1D91
RGBrgb(157, 29, 145)
HSLhsl(306, 69%, 36%)
HSVhsv(306, 82%, 62%)
CMYKcmyk(0%, 81.5%, 7.6%, 38.4%)
CIE-LABlab(38.01, 61.87, -33.62)
CIE-LCHlch(38.01, 70.42, 331.48°)
OKLaboklab(49.24% 0.1782 -0.0925)
OKLCHoklch(49.24% 0.201 332.6)
XYZxyz(19.4549, 10.0929, 27.7061)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D91 #1D9D29
analogous
#691D9D #9D1D91 #9D1D51
triadic
#9D1D91 #919D1D #1D919D
tetradic
#9D1D91 #9D691D #1D9D29 #1D519D
square
#9D1D91 #9D691D #1D9D29 #1D519D
split-complementary
#9D1D91 #519D1D #1D9D69
monochromatic
#360A32 #691361 #9D1D91 #D127C1 #E055D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D1D91#FFFFFF#000000##FFFFFF
##9D1D911.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)
#124E94
Deuteranopia (green-blind)
#4B608E
Tritanopia (blue-blind)
#A42E57
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1d91;
/* rgb */ color: rgb(157, 29, 145);
/* oklch */ color: oklch(49.2% 0.201 332.6);
Tailwind
colors: {
  custom: {
    50: '#be6ab1',
    500: '#9d1d91',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d91;
$custom-light: #be6ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d91",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 145
  },
  "hsl": {
    "h": 305.625,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49237,
    "c": 0.20082,
    "h": 332.6
  },
  "luminance": 0.10091
}

Semantic roles & 50–950 ramp

primary
#9D1D91
secondary
#53C35D
accent
#EC4D3C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1D91

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

Preview Lab → · Contrast checker → · Palette generator →

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