#9F289D#9F289D

#9F289D is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.200 H 328.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9F289D
RGBrgb(159, 40, 157)
HSLhsl(301, 60%, 39%)
HSVhsv(301, 75%, 62%)
CMYKcmyk(0%, 74.8%, 1.3%, 37.6%)
CIE-LABlab(40.12, 61.05, -37.53)
CIE-LCHlch(40.12, 71.66, 328.42°)
OKLaboklab(51.03% 0.1713 -0.1039)
OKLCHoklch(51.03% 0.2 328.8)
XYZxyz(21.1425, 11.3244, 32.9640)
Luminance0.1132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F289D #289F2A
analogous
#66289F #9F289D #9F2862
triadic
#9F289D #9D9F28 #289D9F
tetradic
#9F289D #9F6628 #289F2A #28629F
square
#9F289D #9F6628 #289F2A #28629F
split-complementary
#9F289D #629F28 #289F66
monochromatic
#3D0F3C #6E1C6D #9F289D #CD37CA #D968D7

Accessibility & contrast

On white

6.43
#9F289D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9F289D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F289D
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F289D#FFFFFF#000000##FFFFFF
##9F289D1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1255A0
Deuteranopia (green-blind)
#4A649A
Tritanopia (blue-blind)
#A43A61
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f289d;
/* rgb */ color: rgb(159, 40, 157);
/* oklch */ color: oklch(51.0% 0.200 328.8);
Tailwind
colors: {
  custom: {
    50: '#bf6fba',
    500: '#9f289d',
    950: '#000000',
  },
}
SCSS
$custom: #9f289d;
$custom-light: #bf6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#9f289d",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 301.008,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51028,
    "c": 0.20034,
    "h": 328.8
  },
  "luminance": 0.11323
}

Semantic roles & 50–950 ramp

primary
#9F289D
secondary
#64BF65
accent
#E34745
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F289D

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

Preview Lab → · Contrast checker → · Palette generator →

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