#9F288F#9F288F

#9F288F is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.190 H 334.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9F288F
RGBrgb(159, 40, 143)
HSLhsl(308, 60%, 39%)
HSVhsv(308, 75%, 62%)
CMYKcmyk(0%, 74.8%, 10.1%, 37.6%)
CIE-LABlab(39.37, 58.82, -30.23)
CIE-LCHlch(39.37, 66.14, 332.80°)
OKLaboklab(50.24% 0.1708 -0.0828)
OKLCHoklch(50.24% 0.19 334.1)
XYZxyz(20.0150, 10.8734, 27.0259)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F288F #289F38
analogous
#74289F #9F288F #9F2854
triadic
#9F288F #8F9F28 #288F9F
tetradic
#9F288F #9F7428 #289F38 #28549F
square
#9F288F #9F7428 #289F38 #28549F
split-complementary
#9F288F #549F28 #289F74
monochromatic
#3D0F37 #6E1C63 #9F288F #CD37B9 #D968CA

Accessibility & contrast

On white

6.62
#9F288F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9F288F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F288F
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F288F#FFFFFF#000000##FFFFFF
##9F288F1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255292
Deuteranopia (green-blind)
#51638C
Tritanopia (blue-blind)
#A73359
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f288f;
/* rgb */ color: rgb(159, 40, 143);
/* oklch */ color: oklch(50.2% 0.190 334.1);
Tailwind
colors: {
  custom: {
    50: '#bf6fb0',
    500: '#9f288f',
    950: '#000000',
  },
}
SCSS
$custom: #9f288f;
$custom-light: #bf6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f288f",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 308.067,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50242,
    "c": 0.18983,
    "h": 334.1
  },
  "luminance": 0.10872
}

Semantic roles & 50–950 ramp

primary
#9F288F
secondary
#64BF70
accent
#E35A45
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F288F

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

Preview Lab → · Contrast checker → · Palette generator →

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