#9D1C91#9D1C91

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

Color values

HEX#9D1C91
RGBrgb(157, 28, 145)
HSLhsl(306, 70%, 36%)
HSVhsv(306, 82%, 62%)
CMYKcmyk(0%, 82.2%, 7.6%, 38.4%)
CIE-LABlab(37.92, 62.12, -33.75)
CIE-LCHlch(37.92, 70.70, 331.48°)
OKLaboklab(49.18% 0.179 -0.0929)
OKLCHoklch(49.18% 0.202 332.6)
XYZxyz(19.4308, 10.0446, 27.6980)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C91 #1C9D28
analogous
#691C9D #9D1C91 #9D1C51
triadic
#9D1C91 #919D1C #1C919D
tetradic
#9D1C91 #9D691C #1C9D28 #1C519D
square
#9D1C91 #9D691C #1C9D28 #1C519D
split-complementary
#9D1C91 #519D1C #1C9D69
monochromatic
#350931 #691361 #9D1C91 #D125C1 #E053D3

Accessibility & contrast

On white

6.98
#9D1C91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D1C91
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C91#FFFFFF#000000##FFFFFF
##9D1C911.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114E94
Deuteranopia (green-blind)
#4A5F8E
Tritanopia (blue-blind)
#A42D57
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1c91;
/* rgb */ color: rgb(157, 28, 145);
/* oklch */ color: oklch(49.2% 0.202 332.6);
Tailwind
colors: {
  custom: {
    50: '#be6ab1',
    500: '#9d1c91',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c91;
$custom-light: #be6ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c91",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 305.581,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49175,
    "c": 0.20165,
    "h": 332.6
  },
  "luminance": 0.10043
}

Semantic roles & 50–950 ramp

primary
#9D1C91
secondary
#51C35C
accent
#ED4C3B
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1C91

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

Preview Lab → · Contrast checker → · Palette generator →

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