#9D489C#9D489C

#9D489C is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.1% C 0.155 H 327.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9D489C
RGBrgb(157, 72, 156)
HSLhsl(301, 37%, 45%)
HSVhsv(301, 54%, 62%)
CMYKcmyk(0%, 54.1%, 0.6%, 38.4%)
CIE-LABlab(44.52, 47.14, -30.01)
CIE-LCHlch(44.52, 55.89, 327.52°)
OKLaboklab(54.14% 0.1315 -0.0825)
OKLCHoklch(54.14% 0.155 327.9)
XYZxyz(22.2224, 14.2044, 33.0173)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D489C #489D49
analogous
#74489D #9D489C #9D4871
triadic
#9D489C #9C9D48 #489C9D
tetradic
#9D489C #9D7448 #489D49 #48719D
square
#9D489C #9D7448 #489D49 #48719D
split-complementary
#9D489C #719D48 #489D74
monochromatic
#492249 #733572 #9D489C #BA68B9 #CD92CC

Accessibility & contrast

On white

5.47
#9D489C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9D489C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D489C
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D489C#FFFFFF#000000##FFFFFF
##9D489C1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40629F
Deuteranopia (green-blind)
#5B6D9A
Tritanopia (blue-blind)
#A2516B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d489c;
/* rgb */ color: rgb(157, 72, 156);
/* oklch */ color: oklch(54.1% 0.155 327.9);
Tailwind
colors: {
  custom: {
    50: '#bc7fb9',
    500: '#9d489c',
    950: '#000000',
  },
}
SCSS
$custom: #9d489c;
$custom-light: #bc7fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d489c",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 300.706,
    "s": 37.118,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54143,
    "c": 0.1552,
    "h": 327.9
  },
  "luminance": 0.14203
}

Semantic roles & 50–950 ramp

primary
#9D489C
secondary
#88B988
accent
#CD5C5B
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120A11
muted
#817C80

Preview Lab

Preview with #9D489C

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

Preview Lab → · Contrast checker → · Palette generator →

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