#9D489D#9D489D

#9D489D is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.2% C 0.156 H 327.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9D489D
RGBrgb(157, 72, 157)
HSLhsl(300, 37%, 45%)
HSVhsv(300, 54%, 62%)
CMYKcmyk(0%, 54.1%, 0%, 38.4%)
CIE-LABlab(44.57, 47.33, -30.53)
CIE-LCHlch(44.57, 56.32, 327.17°)
OKLaboklab(54.19% 0.1316 -0.084)
OKLCHoklch(54.19% 0.156 327.5)
XYZxyz(22.3074, 14.2385, 33.4651)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D489D #489D48
analogous
#73489D #9D489D #9D4873
triadic
#9D489D #9D9D48 #489D9D
tetradic
#9D489D #9D7348 #489D48 #48739D
square
#9D489D #9D7348 #489D48 #48739D
split-complementary
#9D489D #739D48 #489D73
monochromatic
#492249 #733573 #9D489D #BA68BA #CD92CD

Accessibility & contrast

On white

5.46
#9D489D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9D489D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D489D
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D489D#FFFFFF#000000##FFFFFF
##9D489D1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F62A0
Deuteranopia (green-blind)
#5A6D9B
Tritanopia (blue-blind)
#A1526C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d489d;
/* rgb */ color: rgb(157, 72, 157);
/* oklch */ color: oklch(54.2% 0.156 327.5);
Tailwind
colors: {
  custom: {
    50: '#bc7fba',
    500: '#9d489d',
    950: '#000000',
  },
}
SCSS
$custom: #9d489d;
$custom-light: #bc7fba;
$custom-dark: #000000;
JSON
{
  "hex": "#9d489d",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 300,
    "s": 37.118,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54194,
    "c": 0.15612,
    "h": 327.5
  },
  "luminance": 0.14237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D489D

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

Preview Lab → · Contrast checker → · Palette generator →

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