#9528B2#9528B2

#9528B2 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.213 H 318.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9528B2
RGBrgb(149, 40, 178)
HSLhsl(287, 63%, 43%)
HSVhsv(287, 78%, 70%)
CMYKcmyk(16.3%, 77.5%, 0%, 30.2%)
CIE-LABlab(39.79, 62.71, -50.71)
CIE-LCHlch(39.79, 80.65, 321.04°)
OKLaboklab(50.89% 0.1583 -0.1427)
OKLCHoklch(50.89% 0.213 318)
XYZxyz(21.1880, 11.1225, 43.1416)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9528B2 #45B228
analogous
#5028B2 #9528B2 #B2288A
triadic
#9528B2 #B29528 #28B295
tetradic
#9528B2 #B25028 #45B228 #288AB2
square
#9528B2 #B25028 #45B228 #288AB2
split-complementary
#9528B2 #8AB228 #28B250
monochromatic
#41124E #6B1D80 #9528B2 #B643D5 #C975E0

Accessibility & contrast

On white

6.51
#9528B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9528B2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9528B2#FFFFFF#000000##FFFFFF
##9528B21.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9528b2;
/* rgb */ color: rgb(149, 40, 178);
/* oklch */ color: oklch(50.9% 0.213 318.0);
Tailwind
colors: {
  custom: {
    50: '#b86fca',
    500: '#9528b2',
    950: '#000000',
  },
}
SCSS
$custom: #9528b2;
$custom-light: #b86fca;
$custom-dark: #000000;
JSON
{
  "hex": "#9528b2",
  "rgb": {
    "r": 149,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 287.391,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50886,
    "c": 0.21312,
    "h": 318
  },
  "luminance": 0.11121
}

Semantic roles & 50–950 ramp

primary
#9528B2
secondary
#81C76F
accent
#E64164
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9528B2

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

Preview Lab → · Contrast checker → · Palette generator →

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