#9B528D#9B528D

#9B528D is a mid, vivid pink. Relative luminance 0.149; OKLCH L 54.6% C 0.123 H 334.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9B528D
RGBrgb(155, 82, 141)
HSLhsl(312, 31%, 46%)
HSVhsv(312, 47%, 61%)
CMYKcmyk(0%, 47.1%, 9%, 39.2%)
CIE-LABlab(45.53, 38.67, -19.48)
CIE-LCHlch(45.53, 43.30, 333.26°)
OKLaboklab(54.62% 0.1115 -0.0526)
OKLCHoklch(54.62% 0.123 334.7)
XYZxyz(21.3426, 14.9276, 26.9513)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B528D #529B60
analogous
#85529B #9B528D #9B5269
triadic
#9B528D #8D9B52 #528D9B
tetradic
#9B528D #9B8552 #529B60 #52699B
square
#9B528D #9B8552 #529B60 #52699B
split-complementary
#9B528D #699B52 #529B85
monochromatic
#4B2844 #733D69 #9B528D #B674A9 #CB9DC2

Accessibility & contrast

On white

5.27
#9B528D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9B528D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B528D
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B528D#FFFFFF#000000##FFFFFF
##9B528D1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52658F
Deuteranopia (green-blind)
#66708B
Tritanopia (blue-blind)
#A15669
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b528d;
/* rgb */ color: rgb(155, 82, 141);
/* oklch */ color: oklch(54.6% 0.123 334.7);
Tailwind
colors: {
  custom: {
    50: '#ba85ae',
    500: '#9b528d',
    950: '#000000',
  },
}
SCSS
$custom: #9b528d;
$custom-light: #ba85ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9b528d",
  "rgb": {
    "r": 155,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 311.507,
    "s": 30.802,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54615,
    "c": 0.12327,
    "h": 334.7
  },
  "luminance": 0.14926
}

Semantic roles & 50–950 ramp

primary
#9B528D
secondary
#91B898
accent
#C77461
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9B528D

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

Preview Lab → · Contrast checker → · Palette generator →

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