#9528B1#9528B1

#9528B1 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.212 H 318.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9528B1
RGBrgb(149, 40, 177)
HSLhsl(288, 63%, 43%)
HSVhsv(288, 77%, 69%)
CMYKcmyk(15.8%, 77.4%, 0%, 30.6%)
CIE-LABlab(39.72, 62.52, -50.23)
CIE-LCHlch(39.72, 80.20, 321.22°)
OKLaboklab(50.82% 0.1585 -0.1412)
OKLCHoklch(50.82% 0.212 318.3)
XYZxyz(21.0879, 11.0825, 42.6148)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9528B1 #44B128
analogous
#5028B1 #9528B1 #B12889
triadic
#9528B1 #B19528 #28B195
tetradic
#9528B1 #B15028 #44B128 #2889B1
square
#9528B1 #B15028 #44B128 #2889B1
split-complementary
#9528B1 #89B128 #28B150
monochromatic
#41114D #6B1D7F #9528B1 #B642D4 #CA74E0

Accessibility & contrast

On white

6.53
#9528B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9528B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9528B1
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9528B1#FFFFFF#000000##FFFFFF
##9528B11.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#2F61AE
Tritanopia (blue-blind)
#94466C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9528b1;
/* rgb */ color: rgb(149, 40, 177);
/* oklch */ color: oklch(50.8% 0.212 318.3);
Tailwind
colors: {
  custom: {
    50: '#b86fc9',
    500: '#9528b1',
    950: '#000000',
  },
}
SCSS
$custom: #9528b1;
$custom-light: #b86fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9528b1",
  "rgb": {
    "r": 149,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 287.737,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50817,
    "c": 0.21227,
    "h": 318.3
  },
  "luminance": 0.11081
}

Semantic roles & 50–950 ramp

primary
#9528B1
secondary
#80C76E
accent
#E64263
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9528B1

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

Preview Lab → · Contrast checker → · Palette generator →

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