#9F1C8F#9F1C8F

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

Color values

HEX#9F1C8F
RGBrgb(159, 28, 143)
HSLhsl(307, 70%, 37%)
HSVhsv(307, 82%, 62%)
CMYKcmyk(0%, 82.4%, 10.1%, 37.6%)
CIE-LABlab(38.17, 62.25, -32.11)
CIE-LCHlch(38.17, 70.04, 332.71°)
OKLaboklab(49.39% 0.1809 -0.0881)
OKLCHoklch(49.39% 0.201 334)
XYZxyz(19.6715, 10.1864, 26.9114)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C8F #1C9F2C
analogous
#6E1C9F #9F1C8F #9F1C4E
triadic
#9F1C8F #8F9F1C #1C8F9F
tetradic
#9F1C8F #9F6E1C #1C9F2C #1C4E9F
square
#9F1C8F #9F6E1C #1C9F2C #1C4E9F
split-complementary
#9F1C8F #4E9F1C #1C9F6E
monochromatic
#370A31 #6B1360 #9F1C8F #D325BE #E154D0

Accessibility & contrast

On white

6.91
#9F1C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9F1C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1C8F
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C8F#FFFFFF#000000##FFFFFF
##9F1C8F1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174E92
Deuteranopia (green-blind)
#4D608C
Tritanopia (blue-blind)
#A72B56
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1c8f;
/* rgb */ color: rgb(159, 28, 143);
/* oklch */ color: oklch(49.4% 0.201 334.0);
Tailwind
colors: {
  custom: {
    50: '#bf6ab0',
    500: '#9f1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c8f;
$custom-light: #bf6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c8f",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 307.328,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49388,
    "c": 0.20123,
    "h": 334
  },
  "luminance": 0.10185
}

Semantic roles & 50–950 ramp

primary
#9F1C8F
secondary
#53C461
accent
#ED513B
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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