#9528BC#9528BC

#9528BC is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.6% C 0.222 H 315.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9528BC
RGBrgb(149, 40, 188)
HSLhsl(284, 65%, 45%)
HSVhsv(284, 79%, 74%)
CMYKcmyk(20.7%, 78.7%, 0%, 26.3%)
CIE-LABlab(40.47, 64.64, -55.50)
CIE-LCHlch(40.47, 85.20, 319.35°)
OKLaboklab(51.59% 0.1567 -0.1567)
OKLCHoklch(51.59% 0.222 315)
XYZxyz(22.2288, 11.5388, 48.6235)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9528BC #4FBC28
analogous
#4B28BC #9528BC #BC2899
triadic
#9528BC #BC9528 #28BC95
tetradic
#9528BC #BC4B28 #4FBC28 #2899BC
square
#9528BC #BC4B28 #4FBC28 #2899BC
split-complementary
#9528BC #99BC28 #28BC4B
monochromatic
#451357 #6D1D8A #9528BC #B249D8 #C87BE3

Accessibility & contrast

On white

6.35
#9528BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9528BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9528BC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9528BC#FFFFFF#000000##FFFFFF
##9528BC1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#1F62B9
Tritanopia (blue-blind)
#924B72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9528bc;
/* rgb */ color: rgb(149, 40, 188);
/* oklch */ color: oklch(51.6% 0.222 315.0);
Tailwind
colors: {
  custom: {
    50: '#b96fd1',
    500: '#9528bc',
    950: '#000000',
  },
}
SCSS
$custom: #9528bc;
$custom-light: #b96fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9528bc",
  "rgb": {
    "r": 149,
    "g": 40,
    "b": 188
  },
  "hsl": {
    "h": 284.189,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51588,
    "c": 0.22166,
    "h": 315
  },
  "luminance": 0.11538
}

Semantic roles & 50–950 ramp

primary
#9528BC
secondary
#8BCB75
accent
#E8406C
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9528BC

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

Preview Lab → · Contrast checker → · Palette generator →

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