#9D508C#9D508C

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

Color values

HEX#9D508C
RGBrgb(157, 80, 140)
HSLhsl(313, 32%, 46%)
HSVhsv(313, 49%, 62%)
CMYKcmyk(0%, 49%, 10.8%, 38.4%)
CIE-LABlab(45.36, 40.20, -19.12)
CIE-LCHlch(45.36, 44.52, 334.56°)
OKLaboklab(54.53% 0.1167 -0.0516)
OKLCHoklch(54.53% 0.128 336.1)
XYZxyz(21.5070, 14.8003, 26.5298)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D508C #509D61
analogous
#88509D #9D508C #9D5066
triadic
#9D508C #8C9D50 #508C9D
tetradic
#9D508C #9D8850 #509D61 #50669D
square
#9D508C #9D8850 #509D61 #50669D
split-complementary
#9D508C #669D50 #509D88
monochromatic
#4C2744 #743B68 #9D508C #B873A8 #CC9BC1

Accessibility & contrast

On white

5.30
#9D508C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9D508C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D508C
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D508C#FFFFFF#000000##FFFFFF
##9D508C1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51648E
Deuteranopia (green-blind)
#66708A
Tritanopia (blue-blind)
#A45367
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d508c;
/* rgb */ color: rgb(157, 80, 140);
/* oklch */ color: oklch(54.5% 0.128 336.1);
Tailwind
colors: {
  custom: {
    50: '#bc84ad',
    500: '#9d508c',
    950: '#000000',
  },
}
SCSS
$custom: #9d508c;
$custom-light: #bc84ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9d508c",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 140
  },
  "hsl": {
    "h": 313.247,
    "s": 32.489,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54528,
    "c": 0.12755,
    "h": 336.1
  },
  "luminance": 0.14799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D508C

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

Preview Lab → · Contrast checker → · Palette generator →

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