#9F409D#9F409D

#9F409D is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.4% C 0.170 H 328.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9F409D
RGBrgb(159, 64, 157)
HSLhsl(301, 43%, 44%)
HSVhsv(301, 60%, 62%)
CMYKcmyk(0%, 59.7%, 1.3%, 37.6%)
CIE-LABlab(43.47, 51.67, -32.25)
CIE-LCHlch(43.47, 60.91, 328.03°)
OKLaboklab(53.45% 0.1447 -0.0888)
OKLCHoklch(53.45% 0.17 328.5)
XYZxyz(22.2170, 13.4735, 33.3222)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F409D #409F42
analogous
#71409F #9F409D #9F406D
triadic
#9F409D #9D9F40 #409D9F
tetradic
#9F409D #9F7140 #409F42 #406D9F
square
#9F409D #9F7140 #409F42 #406D9F
split-complementary
#9F409D #6D9F40 #409F71
monochromatic
#481D47 #732E72 #9F409D #BE5EBC #D08ACE

Accessibility & contrast

On white

5.68
#9F409D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9F409D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F409D
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F409D#FFFFFF#000000##FFFFFF
##9F409D1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA0
Deuteranopia (green-blind)
#576B9A
Tritanopia (blue-blind)
#A44B68
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f409d;
/* rgb */ color: rgb(159, 64, 157);
/* oklch */ color: oklch(53.4% 0.170 328.5);
Tailwind
colors: {
  custom: {
    50: '#be7bba',
    500: '#9f409d',
    950: '#000000',
  },
}
SCSS
$custom: #9f409d;
$custom-light: #be7bba;
$custom-dark: #000000;
JSON
{
  "hex": "#9f409d",
  "rgb": {
    "r": 159,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 301.263,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53445,
    "c": 0.16974,
    "h": 328.5
  },
  "luminance": 0.13472
}

Semantic roles & 50–950 ramp

primary
#9F409D
secondary
#80BB82
accent
#D25855
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #9F409D

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

Preview Lab → · Contrast checker → · Palette generator →

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