#9F4E8D#9F4E8D

#9F4E8D is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.5% C 0.133 H 336.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9F4E8D
RGBrgb(159, 78, 141)
HSLhsl(313, 34%, 46%)
HSVhsv(313, 51%, 62%)
CMYKcmyk(0%, 50.9%, 11.3%, 37.6%)
CIE-LABlab(45.28, 42.06, -19.82)
CIE-LCHlch(45.28, 46.49, 334.77°)
OKLaboklab(54.54% 0.1223 -0.0535)
OKLCHoklch(54.54% 0.133 336.4)
XYZxyz(21.8303, 14.7443, 26.8903)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4E8D #4E9F60
analogous
#894E9F #9F4E8D #9F4E65
triadic
#9F4E8D #8D9F4E #4E8D9F
tetradic
#9F4E8D #9F894E #4E9F60 #4E659F
square
#9F4E8D #9F894E #4E9F60 #4E659F
split-complementary
#9F4E8D #659F4E #4E9F89
monochromatic
#4D2644 #763A69 #9F4E8D #B971A9 #CD9AC2

Accessibility & contrast

On white

5.32
#9F4E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9F4E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4E8D
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4E8D#FFFFFF#000000##FFFFFF
##9F4E8D1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F638F
Deuteranopia (green-blind)
#66708B
Tritanopia (blue-blind)
#A65167
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f4e8d;
/* rgb */ color: rgb(159, 78, 141);
/* oklch */ color: oklch(54.5% 0.133 336.4);
Tailwind
colors: {
  custom: {
    50: '#bd83ae',
    500: '#9f4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #9f4e8d;
$custom-light: #bd83ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4e8d",
  "rgb": {
    "r": 159,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 313.333,
    "s": 34.177,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54542,
    "c": 0.13346,
    "h": 336.4
  },
  "luminance": 0.14743
}

Semantic roles & 50–950 ramp

primary
#9F4E8D
secondary
#8FBA98
accent
#CA765E
background
#FBF8FA
surface
#F7EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9F4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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