#9D1DA0#9D1DA0

#9D1DA0 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.212 H 327.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9D1DA0
RGBrgb(157, 29, 160)
HSLhsl(299, 69%, 37%)
HSVhsv(299, 82%, 63%)
CMYKcmyk(1.9%, 81.9%, 0%, 37.3%)
CIE-LABlab(38.87, 64.24, -41.35)
CIE-LCHlch(38.87, 76.40, 327.23°)
OKLaboklab(50.13% 0.1779 -0.115)
OKLCHoklch(50.13% 0.212 327.1)
XYZxyz(20.6888, 10.5864, 34.2046)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1DA0 #20A01D
analogous
#5C1DA0 #9D1DA0 #A01D62
triadic
#9D1DA0 #A09D1D #1DA09D
tetradic
#9D1DA0 #A05C1D #20A01D #1D62A0
square
#9D1DA0 #A05C1D #20A01D #1D62A0
split-complementary
#9D1DA0 #62A01D #1DA05C
monochromatic
#370A38 #6A146C #9D1DA0 #D026D4 #DD57E1

Accessibility & contrast

On white

6.74
#9D1DA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9D1DA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1DA0
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1DA0#FFFFFF#000000##FFFFFF
##9D1DA01.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#42619D
Tritanopia (blue-blind)
#A23660
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d1da0;
/* rgb */ color: rgb(157, 29, 160);
/* oklch */ color: oklch(50.1% 0.212 327.1);
Tailwind
colors: {
  custom: {
    50: '#be6bbd',
    500: '#9d1da0',
    950: '#000000',
  },
}
SCSS
$custom: #9d1da0;
$custom-light: #be6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1da0",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 298.626,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.50131,
    "c": 0.21178,
    "h": 327.1
  },
  "luminance": 0.10585
}

Semantic roles & 50–950 ramp

primary
#9D1DA0
secondary
#57C455
accent
#EC3C40
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9D1DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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