#9F2891#9F2891

#9F2891 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.191 H 333.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9F2891
RGBrgb(159, 40, 145)
HSLhsl(307, 60%, 39%)
HSVhsv(307, 75%, 62%)
CMYKcmyk(0%, 74.8%, 8.8%, 37.6%)
CIE-LABlab(39.47, 59.13, -31.29)
CIE-LCHlch(39.47, 66.90, 332.11°)
OKLaboklab(50.35% 0.171 -0.0858)
OKLCHoklch(50.35% 0.191 333.3)
XYZxyz(20.1678, 10.9346, 27.8310)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2891 #289F36
analogous
#72289F #9F2891 #9F2856
triadic
#9F2891 #919F28 #28919F
tetradic
#9F2891 #9F7228 #289F36 #28569F
square
#9F2891 #9F7228 #289F36 #28569F
split-complementary
#9F2891 #569F28 #289F72
monochromatic
#3D0F38 #6E1C64 #9F2891 #CD37BB #D968CC

Accessibility & contrast

On white

6.59
#9F2891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9F2891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2891
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2891#FFFFFF#000000##FFFFFF
##9F28911.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235294
Deuteranopia (green-blind)
#50638E
Tritanopia (blue-blind)
#A6345A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2891;
/* rgb */ color: rgb(159, 40, 145);
/* oklch */ color: oklch(50.3% 0.191 333.3);
Tailwind
colors: {
  custom: {
    50: '#bf6fb1',
    500: '#9f2891',
    950: '#000000',
  },
}
SCSS
$custom: #9f2891;
$custom-light: #bf6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2891",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 307.059,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.5035,
    "c": 0.1913,
    "h": 333.3
  },
  "luminance": 0.10933
}

Semantic roles & 50–950 ramp

primary
#9F2891
secondary
#64BF6E
accent
#E35745
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2891

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

Preview Lab → · Contrast checker → · Palette generator →

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