#9D508B#9D508B

#9D508B is a mid, vivid pink. Relative luminance 0.148; OKLCH L 54.5% C 0.127 H 336.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9D508B
RGBrgb(157, 80, 139)
HSLhsl(314, 32%, 46%)
HSVhsv(314, 49%, 62%)
CMYKcmyk(0%, 49%, 11.5%, 38.4%)
CIE-LABlab(45.32, 40.03, -18.59)
CIE-LCHlch(45.32, 44.14, 335.10°)
OKLaboklab(54.48% 0.1164 -0.0501)
OKLCHoklch(54.48% 0.127 336.7)
XYZxyz(21.4336, 14.7709, 26.1432)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D508B #509D62
analogous
#89509D #9D508B #9D5065
triadic
#9D508B #8B9D50 #508B9D
tetradic
#9D508B #9D8950 #509D62 #50659D
square
#9D508B #9D8950 #509D62 #50659D
split-complementary
#9D508B #659D50 #509D89
monochromatic
#4C2743 #743B67 #9D508B #B873A7 #CC9BC1

Accessibility & contrast

On white

5.31
#9D508B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D508B
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D508B#FFFFFF#000000##FFFFFF
##9D508B1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51648D
Deuteranopia (green-blind)
#667089
Tritanopia (blue-blind)
#A45367
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d508b;
/* rgb */ color: rgb(157, 80, 139);
/* oklch */ color: oklch(54.5% 0.127 336.7);
Tailwind
colors: {
  custom: {
    50: '#bc84ad',
    500: '#9d508b',
    950: '#000000',
  },
}
SCSS
$custom: #9d508b;
$custom-light: #bc84ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9d508b",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 314.026,
    "s": 32.489,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54485,
    "c": 0.12672,
    "h": 336.7
  },
  "luminance": 0.1477
}

Semantic roles & 50–950 ramp

primary
#9D508B
secondary
#90B999
accent
#C9785F
background
#FBF8FA
surface
#F7EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9D508B

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

Preview Lab → · Contrast checker → · Palette generator →

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