#9528AF#9528AF

#9528AF is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.211 H 318.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9528AF
RGBrgb(149, 40, 175)
HSLhsl(288, 63%, 42%)
HSVhsv(288, 77%, 69%)
CMYKcmyk(14.9%, 77.1%, 0%, 31.4%)
CIE-LABlab(39.59, 62.15, -49.25)
CIE-LCHlch(39.59, 79.30, 321.60°)
OKLaboklab(50.68% 0.1587 -0.1384)
OKLCHoklch(50.68% 0.211 318.9)
XYZxyz(20.8900, 11.0033, 41.5726)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9528AF #42AF28
analogous
#5128AF #9528AF #AF2886
triadic
#9528AF #AF9528 #28AF95
tetradic
#9528AF #AF5128 #42AF28 #2886AF
square
#9528AF #AF5128 #42AF28 #2886AF
split-complementary
#9528AF #86AF28 #28AF51
monochromatic
#40114B #6B1D7D #9528AF #B741D4 #CA73DF

Accessibility & contrast

On white

6.56
#9528AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9528AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9528AF
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9528AF#FFFFFF#000000##FFFFFF
##9528AF1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#3161AC
Tritanopia (blue-blind)
#95456B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9528af;
/* rgb */ color: rgb(149, 40, 175);
/* oklch */ color: oklch(50.7% 0.211 318.9);
Tailwind
colors: {
  custom: {
    50: '#b86fc8',
    500: '#9528af',
    950: '#000000',
  },
}
SCSS
$custom: #9528af;
$custom-light: #b86fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9528af",
  "rgb": {
    "r": 149,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 288.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50681,
    "c": 0.21058,
    "h": 318.9
  },
  "luminance": 0.11002
}

Semantic roles & 50–950 ramp

primary
#9528AF
secondary
#7EC66D
accent
#E64262
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9528AF

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

Preview Lab → · Contrast checker → · Palette generator →

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