#9F288E#9F288E

#9F288E is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.189 H 334.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9F288E
RGBrgb(159, 40, 142)
HSLhsl(309, 60%, 39%)
HSVhsv(309, 75%, 62%)
CMYKcmyk(0%, 74.8%, 10.7%, 37.6%)
CIE-LABlab(39.32, 58.67, -29.70)
CIE-LCHlch(39.32, 65.76, 333.15°)
OKLaboklab(50.19% 0.1708 -0.0813)
OKLCHoklch(50.19% 0.189 334.6)
XYZxyz(19.9396, 10.8433, 26.6287)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F288E #289F39
analogous
#75289F #9F288E #9F2853
triadic
#9F288E #8E9F28 #288E9F
tetradic
#9F288E #9F7528 #289F39 #28539F
square
#9F288E #9F7528 #289F39 #28539F
split-complementary
#9F288E #539F28 #289F75
monochromatic
#3D0F37 #6E1C62 #9F288E #CD37B7 #D968C9

Accessibility & contrast

On white

6.63
#9F288E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F288E
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F288E#FFFFFF#000000##FFFFFF
##9F288E1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265191
Deuteranopia (green-blind)
#52638B
Tritanopia (blue-blind)
#A73258
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f288e;
/* rgb */ color: rgb(159, 40, 142);
/* oklch */ color: oklch(50.2% 0.189 334.6);
Tailwind
colors: {
  custom: {
    50: '#bf6faf',
    500: '#9f288e',
    950: '#000000',
  },
}
SCSS
$custom: #9f288e;
$custom-light: #bf6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f288e",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 308.571,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50188,
    "c": 0.1891,
    "h": 334.6
  },
  "luminance": 0.10842
}

Semantic roles & 50–950 ramp

primary
#9F288E
secondary
#64BF71
accent
#E35B45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F288E

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

Preview Lab → · Contrast checker → · Palette generator →

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