#9F1D91#9F1D91

#9F1D91 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.202 H 333.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9F1D91
RGBrgb(159, 29, 145)
HSLhsl(306, 69%, 37%)
HSVhsv(306, 82%, 62%)
CMYKcmyk(0%, 81.8%, 8.8%, 37.6%)
CIE-LABlab(38.37, 62.30, -33.03)
CIE-LCHlch(38.37, 70.51, 332.07°)
OKLaboklab(49.56% 0.1802 -0.0908)
OKLCHoklch(49.56% 0.202 333.3)
XYZxyz(19.8484, 10.2958, 27.7245)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D91 #1D9F2B
analogous
#6C1D9F #9F1D91 #9F1D50
triadic
#9F1D91 #919F1D #1D919F
tetradic
#9F1D91 #9F6C1D #1D9F2B #1D509F
square
#9F1D91 #9F6C1D #1D9F2B #1D509F
split-complementary
#9F1D91 #509F1D #1D9F6C
monochromatic
#370A33 #6B1462 #9F1D91 #D326C0 #E056D1

Accessibility & contrast

On white

6.87
#9F1D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9F1D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1D91
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D91#FFFFFF#000000##FFFFFF
##9F1D911.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154F94
Deuteranopia (green-blind)
#4D618E
Tritanopia (blue-blind)
#A62D57
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1d91;
/* rgb */ color: rgb(159, 29, 145);
/* oklch */ color: oklch(49.6% 0.202 333.3);
Tailwind
colors: {
  custom: {
    50: '#bf6bb1',
    500: '#9f1d91',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d91;
$custom-light: #bf6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d91",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 145
  },
  "hsl": {
    "h": 306.462,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4956,
    "c": 0.20181,
    "h": 333.3
  },
  "luminance": 0.10294
}

Semantic roles & 50–950 ramp

primary
#9F1D91
secondary
#54C460
accent
#EC4F3C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1D91

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

Preview Lab → · Contrast checker → · Palette generator →

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