#9528A2#9528A2

#9528A2 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.200 H 323.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9528A2
RGBrgb(149, 40, 162)
HSLhsl(294, 60%, 40%)
HSVhsv(294, 75%, 64%)
CMYKcmyk(8%, 75.3%, 0%, 36.5%)
CIE-LABlab(38.75, 59.76, -42.82)
CIE-LCHlch(38.75, 73.52, 324.38°)
OKLaboklab(49.83% 0.16 -0.1196)
OKLCHoklch(49.83% 0.2 323.2)
XYZxyz(19.6742, 10.5170, 35.1691)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9528A2 #35A228
analogous
#5828A2 #9528A2 #A22872
triadic
#9528A2 #A29528 #28A295
tetradic
#9528A2 #A25828 #35A228 #2872A2
square
#9528A2 #A25828 #35A228 #2872A2
split-complementary
#9528A2 #72A228 #28A258
monochromatic
#3B1040 #681C71 #9528A2 #BE39CE #CE6ADA

Accessibility & contrast

On white

6.77
#9528A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9528A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9528A2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9528A2#FFFFFF#000000##FFFFFF
##9528A21.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#3D5F9F
Tritanopia (blue-blind)
#973F63
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9528a2;
/* rgb */ color: rgb(149, 40, 162);
/* oklch */ color: oklch(49.8% 0.200 323.2);
Tailwind
colors: {
  custom: {
    50: '#b86ebe',
    500: '#9528a2',
    950: '#000000',
  },
}
SCSS
$custom: #9528a2;
$custom-light: #b86ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#9528a2",
  "rgb": {
    "r": 149,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 293.607,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49825,
    "c": 0.1997,
    "h": 323.2
  },
  "luminance": 0.10516
}

Semantic roles & 50–950 ramp

primary
#9528A2
secondary
#6FC165
accent
#E44455
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9528A2

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

Preview Lab → · Contrast checker → · Palette generator →

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