#9B508A#9B508A

#9B508A is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.2% C 0.124 H 336.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9B508A
RGBrgb(155, 80, 138)
HSLhsl(314, 32%, 46%)
HSVhsv(314, 48%, 61%)
CMYKcmyk(0%, 48.4%, 11%, 39.2%)
CIE-LABlab(45.00, 39.21, -18.49)
CIE-LCHlch(45.00, 43.35, 334.75°)
OKLaboklab(54.18% 0.1138 -0.0498)
OKLCHoklch(54.18% 0.124 336.4)
XYZxyz(20.9737, 14.5422, 25.7421)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B508A #509B61
analogous
#86509B #9B508A #9B5064
triadic
#9B508A #8A9B50 #508A9B
tetradic
#9B508A #9B8650 #509B61 #50649B
square
#9B508A #9B8650 #509B61 #50649B
split-complementary
#9B508A #649B50 #509B86
monochromatic
#4A2642 #733B66 #9B508A #B672A7 #CB9AC0

Accessibility & contrast

On white

5.37
#9B508A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9B508A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B508A
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B508A#FFFFFF#000000##FFFFFF
##9B508A1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51638C
Deuteranopia (green-blind)
#666F88
Tritanopia (blue-blind)
#A25367
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b508a;
/* rgb */ color: rgb(155, 80, 138);
/* oklch */ color: oklch(54.2% 0.124 336.4);
Tailwind
colors: {
  custom: {
    50: '#ba84ac',
    500: '#9b508a',
    950: '#000000',
  },
}
SCSS
$custom: #9b508a;
$custom-light: #ba84ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b508a",
  "rgb": {
    "r": 155,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 313.6,
    "s": 31.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54176,
    "c": 0.12425,
    "h": 336.4
  },
  "luminance": 0.14541
}

Semantic roles & 50–950 ramp

primary
#9B508A
secondary
#8FB898
accent
#C87760
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9B508A

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

Preview Lab → · Contrast checker → · Palette generator →

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