#A528A5#A528A5

#A528A5 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.209 H 328.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A528A5
RGBrgb(165, 40, 165)
HSLhsl(300, 61%, 40%)
HSVhsv(300, 76%, 65%)
CMYKcmyk(0%, 75.8%, 0%, 35.3%)
CIE-LABlab(41.59, 63.66, -39.94)
CIE-LCHlch(41.59, 75.15, 327.89°)
OKLaboklab(52.42% 0.1777 -0.1107)
OKLCHoklch(52.42% 0.209 328.1)
XYZxyz(23.0671, 12.2352, 36.7367)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A528A5 #28A528
analogous
#6628A5 #A528A5 #A52866
triadic
#A528A5 #A5A528 #28A5A5
tetradic
#A528A5 #A56628 #28A528 #2866A5
square
#A528A5 #A56628 #28A528 #2866A5
split-complementary
#A528A5 #66A528 #28A566
monochromatic
#421042 #741C74 #A528A5 #CF3BCF #DB6CDB

Accessibility & contrast

On white

6.09
#A528A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A528A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A528A5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A528A5#FFFFFF#000000##FFFFFF
##A528A51.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0858A8
Deuteranopia (green-blind)
#4B68A2
Tritanopia (blue-blind)
#AA3C65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a528a5;
/* rgb */ color: rgb(165, 40, 165);
/* oklch */ color: oklch(52.4% 0.209 328.1);
Tailwind
colors: {
  custom: {
    50: '#c470c0',
    500: '#a528a5',
    950: '#000000',
  },
}
SCSS
$custom: #a528a5;
$custom-light: #c470c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a528a5",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 300,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52415,
    "c": 0.20935,
    "h": 328.1
  },
  "luminance": 0.12234
}

Semantic roles & 50–950 ramp

primary
#A528A5
secondary
#67C267
accent
#E44444
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A528A5

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

Preview Lab → · Contrast checker → · Palette generator →

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