#9D488F#9D488F

#9D488F is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.5% C 0.144 H 334.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9D488F
RGBrgb(157, 72, 143)
HSLhsl(310, 37%, 45%)
HSVhsv(310, 54%, 62%)
CMYKcmyk(0%, 54.1%, 8.9%, 38.4%)
CIE-LABlab(43.93, 44.83, -23.14)
CIE-LCHlch(43.93, 50.45, 332.70°)
OKLaboklab(53.51% 0.1293 -0.0628)
OKLCHoklch(53.51% 0.144 334.1)
XYZxyz(21.1799, 13.7875, 27.5270)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D488F #489D56
analogous
#80489D #9D488F #9D4865
triadic
#9D488F #8F9D48 #488F9D
tetradic
#9D488F #9D8048 #489D56 #48659D
square
#9D488F #9D8048 #489D56 #48659D
split-complementary
#9D488F #659D48 #489D80
monochromatic
#492243 #733569 #9D488F #BA68AC #CD92C3

Accessibility & contrast

On white

5.59
#9D488F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9D488F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D488F
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D488F#FFFFFF#000000##FFFFFF
##9D488F1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476091
Deuteranopia (green-blind)
#606C8D
Tritanopia (blue-blind)
#A44D65
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d488f;
/* rgb */ color: rgb(157, 72, 143);
/* oklch */ color: oklch(53.5% 0.144 334.1);
Tailwind
colors: {
  custom: {
    50: '#bc7fb0',
    500: '#9d488f',
    950: '#000000',
  },
}
SCSS
$custom: #9d488f;
$custom-light: #bc7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d488f",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 309.882,
    "s": 37.118,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53506,
    "c": 0.14375,
    "h": 334.1
  },
  "luminance": 0.13786
}

Semantic roles & 50–950 ramp

primary
#9D488F
secondary
#88B990
accent
#CD6E5B
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #9D488F

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

Preview Lab → · Contrast checker → · Palette generator →

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