#9528AB#9528AB

#9528AB is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.207 H 320.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9528AB
RGBrgb(149, 40, 171)
HSLhsl(290, 62%, 41%)
HSVhsv(290, 77%, 67%)
CMYKcmyk(12.9%, 76.6%, 0%, 32.9%)
CIE-LABlab(39.32, 61.40, -47.30)
CIE-LCHlch(39.32, 77.50, 322.39°)
OKLaboklab(50.41% 0.1592 -0.1327)
OKLCHoklch(50.41% 0.207 320.2)
XYZxyz(20.5030, 10.8485, 39.5342)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9528AB #3EAB28
analogous
#5428AB #9528AB #AB2880
triadic
#9528AB #AB9528 #28AB95
tetradic
#9528AB #AB5428 #3EAB28 #2880AB
square
#9528AB #AB5428 #3EAB28 #2880AB
split-complementary
#9528AB #80AB28 #28AB54
monochromatic
#3F1148 #6A1C79 #9528AB #B93ED2 #CB70DE

Accessibility & contrast

On white

6.63
#9528AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9528AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9528AB
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9528AB#FFFFFF#000000##FFFFFF
##9528AB1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#3560A8
Tritanopia (blue-blind)
#964369
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9528ab;
/* rgb */ color: rgb(149, 40, 171);
/* oklch */ color: oklch(50.4% 0.207 320.2);
Tailwind
colors: {
  custom: {
    50: '#b86ec5',
    500: '#9528ab',
    950: '#000000',
  },
}
SCSS
$custom: #9528ab;
$custom-light: #b86ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#9528ab",
  "rgb": {
    "r": 149,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 289.924,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50412,
    "c": 0.2072,
    "h": 320.2
  },
  "luminance": 0.10847
}

Semantic roles & 50–950 ramp

primary
#9528AB
secondary
#79C46A
accent
#E5435E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9528AB

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

Preview Lab → · Contrast checker → · Palette generator →

#9528AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva