#9D1C95#9D1C95

#9D1C95 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.204 H 331.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9D1C95
RGBrgb(157, 28, 149)
HSLhsl(304, 70%, 36%)
HSVhsv(304, 82%, 62%)
CMYKcmyk(0%, 82.2%, 5.1%, 38.4%)
CIE-LABlab(38.15, 62.74, -35.84)
CIE-LCHlch(38.15, 72.25, 330.26°)
OKLaboklab(49.41% 0.179 -0.0989)
OKLCHoklch(49.41% 0.205 331.1)
XYZxyz(19.7447, 10.1702, 29.3511)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C95 #1C9D24
analogous
#651C9D #9D1C95 #9D1C55
triadic
#9D1C95 #959D1C #1C959D
tetradic
#9D1C95 #9D651C #1C9D24 #1C559D
square
#9D1C95 #9D651C #1C9D24 #1C559D
split-complementary
#9D1C95 #559D1C #1C9D65
monochromatic
#350932 #691364 #9D1C95 #D125C6 #E053D8

Accessibility & contrast

On white

6.92
#9D1C95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9D1C95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1C95
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C95#FFFFFF#000000##FFFFFF
##9D1C951.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074F98
Deuteranopia (green-blind)
#486092
Tritanopia (blue-blind)
#A32F59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d1c95;
/* rgb */ color: rgb(157, 28, 149);
/* oklch */ color: oklch(49.4% 0.204 331.1);
Tailwind
colors: {
  custom: {
    50: '#be6ab4',
    500: '#9d1c95',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c95;
$custom-light: #be6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c95",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 303.721,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49407,
    "c": 0.2045,
    "h": 331.1
  },
  "luminance": 0.10169
}

Semantic roles & 50–950 ramp

primary
#9D1C95
secondary
#51C359
accent
#ED463B
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1C95

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

Preview Lab → · Contrast checker → · Palette generator →

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