#A528A9#A528A9

#A528A9 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.212 H 326.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A528A9
RGBrgb(165, 40, 169)
HSLhsl(298, 62%, 41%)
HSVhsv(298, 76%, 66%)
CMYKcmyk(2.4%, 76.3%, 0%, 33.7%)
CIE-LABlab(41.82, 64.32, -41.96)
CIE-LCHlch(41.82, 76.80, 326.88°)
OKLaboklab(52.65% 0.1776 -0.1166)
OKLCHoklch(52.65% 0.212 326.7)
XYZxyz(23.4369, 12.3831, 38.6842)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A528A9 #2CA928
analogous
#6528A9 #A528A9 #A9286C
triadic
#A528A9 #A9A528 #28A9A5
tetradic
#A528A9 #A96528 #2CA928 #286CA9
square
#A528A9 #A96528 #2CA928 #286CA9
split-complementary
#A528A9 #6CA928 #28A965
monochromatic
#441146 #751C78 #A528A9 #CD3DD1 #D96FDD

Accessibility & contrast

On white

6.04
#A528A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A528A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A528A9
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A528A9#FFFFFF#000000##FFFFFF
##A528A91.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#4968A6
Tritanopia (blue-blind)
#AA3E67
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a528a9;
/* rgb */ color: rgb(165, 40, 169);
/* oklch */ color: oklch(52.7% 0.212 326.7);
Tailwind
colors: {
  custom: {
    50: '#c471c3',
    500: '#a528a9',
    950: '#000000',
  },
}
SCSS
$custom: #a528a9;
$custom-light: #c471c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a528a9",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 298.14,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52654,
    "c": 0.21242,
    "h": 326.7
  },
  "luminance": 0.12381
}

Semantic roles & 50–950 ramp

primary
#A528A9
secondary
#6CC469
accent
#E54348
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A528A9

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

Preview Lab → · Contrast checker → · Palette generator →

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