#9D1D95#9D1D95

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

Color values

HEX#9D1D95
RGBrgb(157, 29, 149)
HSLhsl(304, 69%, 36%)
HSVhsv(304, 82%, 62%)
CMYKcmyk(0%, 81.5%, 5.1%, 38.4%)
CIE-LABlab(38.23, 62.49, -35.71)
CIE-LCHlch(38.23, 71.97, 330.26°)
OKLaboklab(49.47% 0.1783 -0.0986)
OKLCHoklch(49.47% 0.204 331.1)
XYZxyz(19.7688, 10.2184, 29.3591)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D95 #1D9D25
analogous
#651D9D #9D1D95 #9D1D55
triadic
#9D1D95 #959D1D #1D959D
tetradic
#9D1D95 #9D651D #1D9D25 #1D559D
square
#9D1D95 #9D651D #1D9D25 #1D559D
split-complementary
#9D1D95 #559D1D #1D9D65
monochromatic
#360A33 #691364 #9D1D95 #D127C6 #E055D7

Accessibility & contrast

On white

6.90
#9D1D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9D1D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1D95
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D95#FFFFFF#000000##FFFFFF
##9D1D951.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094F98
Deuteranopia (green-blind)
#496092
Tritanopia (blue-blind)
#A3305A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d1d95;
/* rgb */ color: rgb(157, 29, 149);
/* oklch */ color: oklch(49.5% 0.204 331.1);
Tailwind
colors: {
  custom: {
    50: '#be6bb4',
    500: '#9d1d95',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d95;
$custom-light: #be6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d95",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 303.75,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49468,
    "c": 0.2037,
    "h": 331.1
  },
  "luminance": 0.10217
}

Semantic roles & 50–950 ramp

primary
#9D1D95
secondary
#53C35A
accent
#EC473C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D1D95

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

Preview Lab → · Contrast checker → · Palette generator →

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