#9F1B8F#9F1B8F

#9F1B8F is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.202 H 334.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9F1B8F
RGBrgb(159, 27, 143)
HSLhsl(307, 71%, 36%)
HSVhsv(307, 83%, 62%)
CMYKcmyk(0%, 83%, 10.1%, 37.6%)
CIE-LABlab(38.09, 62.48, -32.24)
CIE-LCHlch(38.09, 70.31, 332.71°)
OKLaboklab(49.33% 0.1816 -0.0885)
OKLCHoklch(49.33% 0.202 334)
XYZxyz(19.6481, 10.1398, 26.9036)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B8F #1B9F2B
analogous
#6D1B9F #9F1B8F #9F1B4D
triadic
#9F1B8F #8F9F1B #1B8F9F
tetradic
#9F1B8F #9F6D1B #1B9F2B #1B4D9F
square
#9F1B8F #9F6D1B #1B9F2B #1B4D9F
split-complementary
#9F1B8F #4D9F1B #1B9F6D
monochromatic
#360931 #6B1260 #9F1B8F #D324BE #E253D0

Accessibility & contrast

On white

6.94
#9F1B8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9F1B8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1B8F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B8F#FFFFFF#000000##FFFFFF
##9F1B8F1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1b8f;
/* rgb */ color: rgb(159, 27, 143);
/* oklch */ color: oklch(49.3% 0.202 334.0);
Tailwind
colors: {
  custom: {
    50: '#bf6ab0',
    500: '#9f1b8f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b8f;
$custom-light: #bf6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b8f",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 307.273,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49329,
    "c": 0.20203,
    "h": 334
  },
  "luminance": 0.10138
}

Semantic roles & 50–950 ramp

primary
#9F1B8F
secondary
#51C55F
accent
#EE503A
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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