#9C508D#9C508D

#9C508D is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.4% C 0.128 H 335.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9C508D
RGBrgb(156, 80, 141)
HSLhsl(312, 32%, 46%)
HSVhsv(312, 49%, 61%)
CMYKcmyk(0%, 48.7%, 9.6%, 38.8%)
CIE-LABlab(45.26, 40.06, -19.89)
CIE-LCHlch(45.26, 44.72, 333.60°)
OKLaboklab(54.44% 0.1157 -0.0537)
OKLCHoklch(54.44% 0.128 335.1)
XYZxyz(21.3867, 14.7297, 26.9108)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C508D #509C5F
analogous
#85509C #9C508D #9C5067
triadic
#9C508D #8D9C50 #508D9C
tetradic
#9C508D #9C8550 #509C5F #50679C
square
#9C508D #9C8550 #509C5F #50679C
split-complementary
#9C508D #679C50 #509C85
monochromatic
#4B2744 #743B68 #9C508D #B772A9 #CC9BC2

Accessibility & contrast

On white

5.32
#9C508D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C508D
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C508D#FFFFFF#000000##FFFFFF
##9C508D1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50648F
Deuteranopia (green-blind)
#656F8B
Tritanopia (blue-blind)
#A25468
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9c508d;
/* rgb */ color: rgb(156, 80, 141);
/* oklch */ color: oklch(54.4% 0.128 335.1);
Tailwind
colors: {
  custom: {
    50: '#bb84ae',
    500: '#9c508d',
    950: '#000000',
  },
}
SCSS
$custom: #9c508d;
$custom-light: #bb84ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9c508d",
  "rgb": {
    "r": 156,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 311.842,
    "s": 32.203,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5444,
    "c": 0.1276,
    "h": 335.1
  },
  "luminance": 0.14728
}

Semantic roles & 50–950 ramp

primary
#9C508D
secondary
#8FB897
accent
#C8745F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9C508D

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

Preview Lab → · Contrast checker → · Palette generator →

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