#9F1D95#9F1D95

#9F1D95 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.205 H 331.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9F1D95
RGBrgb(159, 29, 149)
HSLhsl(305, 69%, 37%)
HSVhsv(305, 82%, 62%)
CMYKcmyk(0%, 81.8%, 6.3%, 37.6%)
CIE-LABlab(38.59, 62.90, -35.12)
CIE-LCHlch(38.59, 72.04, 330.83°)
OKLaboklab(49.79% 0.1803 -0.0968)
OKLCHoklch(49.79% 0.205 331.8)
XYZxyz(20.1623, 10.4213, 29.3776)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D95 #1D9F27
analogous
#681D9F #9F1D95 #9F1D54
triadic
#9F1D95 #959F1D #1D959F
tetradic
#9F1D95 #9F681D #1D9F27 #1D549F
square
#9F1D95 #9F681D #1D9F27 #1D549F
split-complementary
#9F1D95 #549F1D #1D9F68
monochromatic
#370A34 #6B1464 #9F1D95 #D326C6 #E056D6

Accessibility & contrast

On white

6.81
#9F1D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9F1D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1D95
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D95#FFFFFF#000000##FFFFFF
##9F1D951.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4F98
Deuteranopia (green-blind)
#4A6192
Tritanopia (blue-blind)
#A62F5A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1d95;
/* rgb */ color: rgb(159, 29, 149);
/* oklch */ color: oklch(49.8% 0.205 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf6bb4',
    500: '#9f1d95',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d95;
$custom-light: #bf6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d95",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 304.615,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49788,
    "c": 0.20464,
    "h": 331.8
  },
  "luminance": 0.1042
}

Semantic roles & 50–950 ramp

primary
#9F1D95
secondary
#54C45D
accent
#EC493C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1D95

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

Preview Lab → · Contrast checker → · Palette generator →

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