#9D4E8D#9D4E8D

#9D4E8D is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.3% C 0.132 H 335.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9D4E8D
RGBrgb(157, 78, 141)
HSLhsl(312, 34%, 46%)
HSVhsv(312, 50%, 62%)
CMYKcmyk(0%, 50.3%, 10.2%, 38.4%)
CIE-LABlab(45.00, 41.42, -20.28)
CIE-LCHlch(45.00, 46.12, 333.92°)
OKLaboklab(54.27% 0.12 -0.0548)
OKLCHoklch(54.27% 0.132 335.4)
XYZxyz(21.4368, 14.5414, 26.8718)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4E8D #4E9D5E
analogous
#854E9D #9D4E8D #9D4E65
triadic
#9D4E8D #8D9D4E #4E8D9D
tetradic
#9D4E8D #9D854E #4E9D5E #4E659D
square
#9D4E8D #9D854E #4E9D5E #4E659D
split-complementary
#9D4E8D #659D4E #4E9D85
monochromatic
#4B2544 #743A68 #9D4E8D #B870A9 #CC99C2

Accessibility & contrast

On white

5.37
#9D4E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9D4E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4E8D
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4E8D#FFFFFF#000000##FFFFFF
##9D4E8D1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E638F
Deuteranopia (green-blind)
#646F8B
Tritanopia (blue-blind)
#A45267
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d4e8d;
/* rgb */ color: rgb(157, 78, 141);
/* oklch */ color: oklch(54.3% 0.132 335.4);
Tailwind
colors: {
  custom: {
    50: '#bc82ae',
    500: '#9d4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #9d4e8d;
$custom-light: #bc82ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4e8d",
  "rgb": {
    "r": 157,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 312.152,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54274,
    "c": 0.13188,
    "h": 335.4
  },
  "luminance": 0.1454
}

Semantic roles & 50–950 ramp

primary
#9D4E8D
secondary
#8EB997
accent
#CA745E
background
#FBF8FA
surface
#F7EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9D4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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