#A528AF#A528AF

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

Color values

HEX#A528AF
RGBrgb(165, 40, 175)
HSLhsl(296, 63%, 42%)
HSVhsv(296, 77%, 69%)
CMYKcmyk(5.7%, 77.1%, 0%, 31.4%)
CIE-LABlab(42.18, 65.33, -44.96)
CIE-LCHlch(42.18, 79.31, 325.46°)
OKLaboklab(53.02% 0.1772 -0.1254)
OKLCHoklch(53.02% 0.217 324.7)
XYZxyz(24.0131, 12.6136, 41.7190)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A528AF #32AF28
analogous
#6228AF #A528AF #AF2875
triadic
#A528AF #AFA528 #28AFA5
tetradic
#A528AF #AF6228 #32AF28 #2875AF
square
#A528AF #AF6228 #32AF28 #2875AF
split-complementary
#A528AF #75AF28 #28AF62
monochromatic
#47114B #761D7D #A528AF #C941D4 #D773DF

Accessibility & contrast

On white

5.96
#A528AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A528AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A528AF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A528AF#FFFFFF#000000##FFFFFF
##A528AF1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#4569AC
Tritanopia (blue-blind)
#A8416B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a528af;
/* rgb */ color: rgb(165, 40, 175);
/* oklch */ color: oklch(53.0% 0.217 324.7);
Tailwind
colors: {
  custom: {
    50: '#c471c7',
    500: '#a528af',
    950: '#000000',
  },
}
SCSS
$custom: #a528af;
$custom-light: #c471c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a528af",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 295.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53022,
    "c": 0.21708,
    "h": 324.7
  },
  "luminance": 0.12612
}

Semantic roles & 50–950 ramp

primary
#A528AF
secondary
#73C66D
accent
#E6424E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A528AF

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

Preview Lab → · Contrast checker → · Palette generator →

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