#9F1D99#9F1D99

#9F1D99 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.208 H 330.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9F1D99
RGBrgb(159, 29, 153)
HSLhsl(303, 69%, 37%)
HSVhsv(303, 82%, 62%)
CMYKcmyk(0%, 81.8%, 3.8%, 37.6%)
CIE-LABlab(38.81, 63.52, -37.19)
CIE-LCHlch(38.81, 73.61, 329.65°)
OKLaboklab(50.02% 0.1803 -0.1028)
OKLCHoklch(50.02% 0.208 330.3)
XYZxyz(20.4871, 10.5512, 31.0884)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D99 #1D9F23
analogous
#641D9F #9F1D99 #9F1D58
triadic
#9F1D99 #999F1D #1D999F
tetradic
#9F1D99 #9F641D #1D9F23 #1D589F
square
#9F1D99 #9F641D #1D9F23 #1D589F
split-complementary
#9F1D99 #589F1D #1D9F64
monochromatic
#370A35 #6B1467 #9F1D99 #D326CB #E056DA

Accessibility & contrast

On white

6.75
#9F1D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9F1D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1D99
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D99#FFFFFF#000000##FFFFFF
##9F1D991.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02509C
Deuteranopia (green-blind)
#486196
Tritanopia (blue-blind)
#A5315C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1d99;
/* rgb */ color: rgb(159, 29, 153);
/* oklch */ color: oklch(50.0% 0.208 330.3);
Tailwind
colors: {
  custom: {
    50: '#bf6bb7',
    500: '#9f1d99',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d99;
$custom-light: #bf6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d99",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 302.769,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.50022,
    "c": 0.20751,
    "h": 330.3
  },
  "luminance": 0.1055
}

Semantic roles & 50–950 ramp

primary
#9F1D99
secondary
#54C459
accent
#EC443C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1D99

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

Preview Lab → · Contrast checker → · Palette generator →

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