#9D1FA9#9D1FA9

#9D1FA9 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.8% C 0.217 H 324.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9D1FA9
RGBrgb(157, 31, 169)
HSLhsl(295, 69%, 39%)
HSVhsv(295, 82%, 66%)
CMYKcmyk(7.1%, 81.7%, 0%, 33.7%)
CIE-LABlab(39.60, 65.24, -45.58)
CIE-LCHlch(39.60, 79.59, 325.06°)
OKLaboklab(50.83% 0.1757 -0.1273)
OKLCHoklch(50.83% 0.217 324.1)
XYZxyz(21.5554, 11.0140, 38.5190)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1FA9 #2BA91F
analogous
#581FA9 #9D1FA9 #A91F70
triadic
#9D1FA9 #A99D1F #1FA99D
tetradic
#9D1FA9 #A9581F #2BA91F #1F70A9
square
#9D1FA9 #A9581F #2BA91F #1F70A9
split-complementary
#9D1FA9 #70A91F #1FA958
monochromatic
#3D0C42 #6D1675 #9D1FA9 #CA2DD8 #D760E2

Accessibility & contrast

On white

6.56
#9D1FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9D1FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1FA9
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1FA9#FFFFFF#000000##FFFFFF
##9D1FA91.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#3C62A6
Tritanopia (blue-blind)
#A03C66
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d1fa9;
/* rgb */ color: rgb(157, 31, 169);
/* oklch */ color: oklch(50.8% 0.217 324.1);
Tailwind
colors: {
  custom: {
    50: '#be6cc3',
    500: '#9d1fa9',
    950: '#000000',
  },
}
SCSS
$custom: #9d1fa9;
$custom-light: #be6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1fa9",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 294.783,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50825,
    "c": 0.21699,
    "h": 324.1
  },
  "luminance": 0.11013
}

Semantic roles & 50–950 ramp

primary
#9D1FA9
secondary
#66C75D
accent
#EC3C4B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9D1FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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