#A528AB#A528AB

#A528AB is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.214 H 326.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A528AB
RGBrgb(165, 40, 171)
HSLhsl(297, 62%, 41%)
HSVhsv(297, 77%, 67%)
CMYKcmyk(3.5%, 76.6%, 0%, 32.9%)
CIE-LABlab(41.94, 64.65, -42.97)
CIE-LCHlch(41.94, 77.63, 326.39°)
OKLaboklab(52.78% 0.1775 -0.1195)
OKLCHoklch(52.78% 0.214 326)
XYZxyz(23.6261, 12.4588, 39.6806)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A528AB #2EAB28
analogous
#6428AB #A528AB #AB2870
triadic
#A528AB #ABA528 #28ABA5
tetradic
#A528AB #AB6428 #2EAB28 #2870AB
square
#A528AB #AB6428 #2EAB28 #2870AB
split-complementary
#A528AB #70AB28 #28AB64
monochromatic
#451148 #751C79 #A528AB #CB3ED2 #D870DE

Accessibility & contrast

On white

6.01
#A528AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A528AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A528AB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A528AB#FFFFFF#000000##FFFFFF
##A528AB1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#4768A8
Tritanopia (blue-blind)
#A93F69
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a528ab;
/* rgb */ color: rgb(165, 40, 171);
/* oklch */ color: oklch(52.8% 0.214 326.0);
Tailwind
colors: {
  custom: {
    50: '#c471c4',
    500: '#a528ab',
    950: '#000000',
  },
}
SCSS
$custom: #a528ab;
$custom-light: #c471c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a528ab",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 297.252,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52775,
    "c": 0.21397,
    "h": 326
  },
  "luminance": 0.12457
}

Semantic roles & 50–950 ramp

primary
#A528AB
secondary
#6FC46A
accent
#E5434A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A528AB

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

Preview Lab → · Contrast checker → · Palette generator →

#A528AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva