#9F1D8F#9F1D8F

#9F1D8F is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.200 H 334.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9F1D8F
RGBrgb(159, 29, 143)
HSLhsl(307, 69%, 37%)
HSVhsv(307, 82%, 62%)
CMYKcmyk(0%, 81.8%, 10.1%, 37.6%)
CIE-LABlab(38.26, 62.00, -31.97)
CIE-LCHlch(38.26, 69.76, 332.72°)
OKLaboklab(49.45% 0.1802 -0.0877)
OKLCHoklch(49.45% 0.2 334)
XYZxyz(19.6956, 10.2346, 26.9195)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D8F #1D9F2D
analogous
#6E1D9F #9F1D8F #9F1D4E
triadic
#9F1D8F #8F9F1D #1D8F9F
tetradic
#9F1D8F #9F6E1D #1D9F2D #1D4E9F
square
#9F1D8F #9F6E1D #1D9F2D #1D4E9F
split-complementary
#9F1D8F #4E9F1D #1D9F6E
monochromatic
#370A32 #6B1460 #9F1D8F #D326BE #E056CF

Accessibility & contrast

On white

6.89
#9F1D8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9F1D8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1D8F
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D8F#FFFFFF#000000##FFFFFF
##9F1D8F1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194E92
Deuteranopia (green-blind)
#4E618C
Tritanopia (blue-blind)
#A72C56
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1d8f;
/* rgb */ color: rgb(159, 29, 143);
/* oklch */ color: oklch(49.4% 0.200 334.0);
Tailwind
colors: {
  custom: {
    50: '#bf6bb0',
    500: '#9f1d8f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d8f;
$custom-light: #bf6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d8f",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 307.385,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49449,
    "c": 0.20041,
    "h": 334
  },
  "luminance": 0.10233
}

Semantic roles & 50–950 ramp

primary
#9F1D8F
secondary
#54C462
accent
#EC523C
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F1D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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