#9D1FA0#9D1FA0

#9D1FA0 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.210 H 327.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9D1FA0
RGBrgb(157, 31, 160)
HSLhsl(299, 68%, 37%)
HSVhsv(299, 81%, 63%)
CMYKcmyk(1.9%, 80.6%, 0%, 37.3%)
CIE-LABlab(39.05, 63.73, -41.07)
CIE-LCHlch(39.05, 75.82, 327.20°)
OKLaboklab(50.26% 0.1764 -0.1142)
OKLCHoklch(50.26% 0.21 327.1)
XYZxyz(20.7394, 10.6877, 34.2215)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1FA0 #22A01F
analogous
#5D1FA0 #9D1FA0 #A01F62
triadic
#9D1FA0 #A09D1F #1FA09D
tetradic
#9D1FA0 #A05D1F #22A01F #1F62A0
square
#9D1FA0 #A05D1F #22A01F #1F62A0
split-complementary
#9D1FA0 #62A01F #1FA05D
monochromatic
#380B39 #6B156D #9D1FA0 #CF29D3 #DC5ADF

Accessibility & contrast

On white

6.69
#9D1FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9D1FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1FA0
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1FA0#FFFFFF#000000##FFFFFF
##9D1FA01.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#43619D
Tritanopia (blue-blind)
#A23760
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d1fa0;
/* rgb */ color: rgb(157, 31, 160);
/* oklch */ color: oklch(50.3% 0.210 327.1);
Tailwind
colors: {
  custom: {
    50: '#be6cbd',
    500: '#9d1fa0',
    950: '#000000',
  },
}
SCSS
$custom: #9d1fa0;
$custom-light: #be6cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1fa0",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 298.605,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50255,
    "c": 0.21015,
    "h": 327.1
  },
  "luminance": 0.10686
}

Semantic roles & 50–950 ramp

primary
#9D1FA0
secondary
#5AC358
accent
#EA3D41
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9D1FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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