#9A528D#9A528D

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

Color values

HEX#9A528D
RGBrgb(154, 82, 141)
HSLhsl(311, 31%, 46%)
HSVhsv(311, 47%, 60%)
CMYKcmyk(0%, 46.8%, 8.4%, 39.6%)
CIE-LABlab(45.40, 38.34, -19.70)
CIE-LCHlch(45.40, 43.11, 332.81°)
OKLaboklab(54.48% 0.1103 -0.0533)
OKLCHoklch(54.48% 0.122 334.2)
XYZxyz(21.1514, 14.8290, 26.9423)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A528D #529A5F
analogous
#83529A #9A528D #9A5269
triadic
#9A528D #8D9A52 #528D9A
tetradic
#9A528D #9A8352 #529A5F #52699A
square
#9A528D #9A8352 #529A5F #52699A
split-complementary
#9A528D #699A52 #529A83
monochromatic
#4A2744 #723D68 #9A528D #B574A9 #CA9CC2

Accessibility & contrast

On white

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

On black

3.97
#9A528D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9A528D#FFFFFF#000000##FFFFFF
##9A528D1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a528d;
/* rgb */ color: rgb(154, 82, 141);
/* oklch */ color: oklch(54.5% 0.122 334.2);
Tailwind
colors: {
  custom: {
    50: '#b985ae',
    500: '#9a528d',
    950: '#000000',
  },
}
SCSS
$custom: #9a528d;
$custom-light: #b985ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9a528d",
  "rgb": {
    "r": 154,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 310.833,
    "s": 30.508,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54485,
    "c": 0.12247,
    "h": 334.2
  },
  "luminance": 0.14828
}

Semantic roles & 50–950 ramp

primary
#9A528D
secondary
#90B797
accent
#C77361
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9A528D

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

Preview Lab → · Contrast checker → · Palette generator →

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