#A528AE#A528AE

#A528AE is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.216 H 325.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A528AE
RGBrgb(165, 40, 174)
HSLhsl(296, 63%, 42%)
HSVhsv(296, 77%, 68%)
CMYKcmyk(5.2%, 77%, 0%, 31.8%)
CIE-LABlab(42.12, 65.16, -44.46)
CIE-LCHlch(42.12, 78.89, 325.69°)
OKLaboklab(52.96% 0.1773 -0.1239)
OKLCHoklch(52.96% 0.216 325.1)
XYZxyz(23.9152, 12.5745, 41.2037)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A528AE #31AE28
analogous
#6228AE #A528AE #AE2874
triadic
#A528AE #AEA528 #28AEA5
tetradic
#A528AE #AE6228 #31AE28 #2874AE
square
#A528AE #AE6228 #31AE28 #2874AE
split-complementary
#A528AE #74AE28 #28AE62
monochromatic
#47114A #761D7C #A528AE #C940D3 #D772DF

Accessibility & contrast

On white

5.98
#A528AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A528AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A528AE
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A528AE#FFFFFF#000000##FFFFFF
##A528AE1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#4568AB
Tritanopia (blue-blind)
#A9416A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a528ae;
/* rgb */ color: rgb(165, 40, 174);
/* oklch */ color: oklch(53.0% 0.216 325.1);
Tailwind
colors: {
  custom: {
    50: '#c471c7',
    500: '#a528ae',
    950: '#000000',
  },
}
SCSS
$custom: #a528ae;
$custom-light: #c471c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a528ae",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 295.97,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5296,
    "c": 0.21631,
    "h": 325.1
  },
  "luminance": 0.12573
}

Semantic roles & 50–950 ramp

primary
#A528AE
secondary
#72C66C
accent
#E6424D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A528AE

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

Preview Lab → · Contrast checker → · Palette generator →

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