#9528B5#9528B5

#9528B5 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.1% C 0.216 H 317.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9528B5
RGBrgb(149, 40, 181)
HSLhsl(286, 64%, 43%)
HSVhsv(286, 78%, 71%)
CMYKcmyk(17.7%, 77.9%, 0%, 29%)
CIE-LABlab(39.99, 63.28, -52.16)
CIE-LCHlch(39.99, 82.01, 320.50°)
OKLaboklab(51.09% 0.1579 -0.1469)
OKLCHoklch(51.09% 0.216 317.1)
XYZxyz(21.4925, 11.2443, 44.7453)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9528B5 #48B528
analogous
#4E28B5 #9528B5 #B5288E
triadic
#9528B5 #B59528 #28B595
tetradic
#9528B5 #B54E28 #48B528 #288EB5
square
#9528B5 #B54E28 #48B528 #288EB5
split-complementary
#9528B5 #8EB528 #28B54E
monochromatic
#421251 #6C1D83 #9528B5 #B544D6 #C977E1

Accessibility & contrast

On white

6.46
#9528B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9528B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9528B5
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9528B5#FFFFFF#000000##FFFFFF
##9528B51.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#2A61B2
Tritanopia (blue-blind)
#93486E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9528b5;
/* rgb */ color: rgb(149, 40, 181);
/* oklch */ color: oklch(51.1% 0.216 317.1);
Tailwind
colors: {
  custom: {
    50: '#b86fcc',
    500: '#9528b5',
    950: '#000000',
  },
}
SCSS
$custom: #9528b5;
$custom-light: #b86fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#9528b5",
  "rgb": {
    "r": 149,
    "g": 40,
    "b": 181
  },
  "hsl": {
    "h": 286.383,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51093,
    "c": 0.21567,
    "h": 317.1
  },
  "luminance": 0.11243
}

Semantic roles & 50–950 ramp

primary
#9528B5
secondary
#84C870
accent
#E74167
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9528B5

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

Preview Lab → · Contrast checker → · Palette generator →

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