#A528A1#A528A1

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

Color values

HEX#A528A1
RGBrgb(165, 40, 161)
HSLhsl(302, 61%, 40%)
HSVhsv(302, 76%, 65%)
CMYKcmyk(0%, 75.8%, 2.4%, 35.3%)
CIE-LABlab(41.36, 63.01, -37.91)
CIE-LCHlch(41.36, 73.53, 328.97°)
OKLaboklab(52.18% 0.1777 -0.1048)
OKLCHoklch(52.18% 0.206 329.5)
XYZxyz(22.7087, 12.0919, 34.8492)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A528A1 #28A52C
analogous
#6A28A5 #A528A1 #A52862
triadic
#A528A1 #A1A528 #28A1A5
tetradic
#A528A1 #A56A28 #28A52C #2862A5
square
#A528A1 #A56A28 #28A52C #2862A5
split-complementary
#A528A1 #62A528 #28A56A
monochromatic
#421041 #741C71 #A528A1 #CF3BCB #DB6CD8

Accessibility & contrast

On white

6.14
#A528A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A528A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A528A1
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A528A1#FFFFFF#000000##FFFFFF
##A528A11.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1357A4
Deuteranopia (green-blind)
#4E679E
Tritanopia (blue-blind)
#AB3A63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a528a1;
/* rgb */ color: rgb(165, 40, 161);
/* oklch */ color: oklch(52.2% 0.206 329.5);
Tailwind
colors: {
  custom: {
    50: '#c370bd',
    500: '#a528a1',
    950: '#000000',
  },
}
SCSS
$custom: #a528a1;
$custom-light: #c370bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a528a1",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 301.92,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52181,
    "c": 0.20631,
    "h": 329.5
  },
  "luminance": 0.1209
}

Semantic roles & 50–950 ramp

primary
#A528A1
secondary
#67C26A
accent
#E44944
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A528A1

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

Preview Lab → · Contrast checker → · Palette generator →

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