#9C508A#9C508A

#9C508A is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.3% C 0.125 H 336.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9C508A
RGBrgb(156, 80, 138)
HSLhsl(314, 32%, 46%)
HSVhsv(314, 49%, 61%)
CMYKcmyk(0%, 48.7%, 11.5%, 38.8%)
CIE-LABlab(45.14, 39.54, -18.27)
CIE-LCHlch(45.14, 43.55, 335.20°)
OKLaboklab(54.31% 0.115 -0.0492)
OKLCHoklch(54.31% 0.125 336.8)
XYZxyz(21.1665, 14.6416, 25.7511)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C508A #509C62
analogous
#88509C #9C508A #9C5064
triadic
#9C508A #8A9C50 #508A9C
tetradic
#9C508A #9C8850 #509C62 #50649C
square
#9C508A #9C8850 #509C62 #50649C
split-complementary
#9C508A #649C50 #509C88
monochromatic
#4B2742 #743B66 #9C508A #B772A7 #CC9BC0

Accessibility & contrast

On white

5.35
#9C508A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9C508A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C508A
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C508A#FFFFFF#000000##FFFFFF
##9C508A1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51648C
Deuteranopia (green-blind)
#666F88
Tritanopia (blue-blind)
#A35367
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9c508a;
/* rgb */ color: rgb(156, 80, 138);
/* oklch */ color: oklch(54.3% 0.125 336.8);
Tailwind
colors: {
  custom: {
    50: '#bb84ac',
    500: '#9c508a',
    950: '#000000',
  },
}
SCSS
$custom: #9c508a;
$custom-light: #bb84ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c508a",
  "rgb": {
    "r": 156,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 314.211,
    "s": 32.203,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54308,
    "c": 0.12507,
    "h": 336.8
  },
  "luminance": 0.1464
}

Semantic roles & 50–950 ramp

primary
#9C508A
secondary
#8FB899
accent
#C8785F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9C508A

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

Preview Lab → · Contrast checker → · Palette generator →

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