#A528A2#A528A2

#A528A2 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.207 H 329.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A528A2
RGBrgb(165, 40, 162)
HSLhsl(301, 61%, 40%)
HSVhsv(301, 76%, 65%)
CMYKcmyk(0%, 75.8%, 1.8%, 35.3%)
CIE-LABlab(41.42, 63.17, -38.42)
CIE-LCHlch(41.42, 73.93, 328.69°)
OKLaboklab(52.24% 0.1777 -0.1063)
OKLCHoklch(52.24% 0.207 329.1)
XYZxyz(22.7972, 12.1273, 35.3155)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A528A2 #28A52B
analogous
#6928A5 #A528A2 #A52863
triadic
#A528A2 #A2A528 #28A2A5
tetradic
#A528A2 #A56928 #28A52B #2863A5
square
#A528A2 #A56928 #28A52B #2863A5
split-complementary
#A528A2 #63A528 #28A569
monochromatic
#421041 #741C72 #A528A2 #CF3BCC #DB6CD9

Accessibility & contrast

On white

6.13
#A528A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A528A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A528A2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A528A2#FFFFFF#000000##FFFFFF
##A528A21.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1157A5
Deuteranopia (green-blind)
#4D679F
Tritanopia (blue-blind)
#AB3B64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a528a2;
/* rgb */ color: rgb(165, 40, 162);
/* oklch */ color: oklch(52.2% 0.207 329.1);
Tailwind
colors: {
  custom: {
    50: '#c370be',
    500: '#a528a2',
    950: '#000000',
  },
}
SCSS
$custom: #a528a2;
$custom-light: #c370be;
$custom-dark: #000000;
JSON
{
  "hex": "#a528a2",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 301.44,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52239,
    "c": 0.20707,
    "h": 329.1
  },
  "luminance": 0.12126
}

Semantic roles & 50–950 ramp

primary
#A528A2
secondary
#67C269
accent
#E44844
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A528A2

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

Preview Lab → · Contrast checker → · Palette generator →

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