#A528AA#A528AA

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

Color values

HEX#A528AA
RGBrgb(165, 40, 170)
HSLhsl(298, 62%, 41%)
HSVhsv(298, 76%, 67%)
CMYKcmyk(2.9%, 76.5%, 0%, 33.3%)
CIE-LABlab(41.88, 64.49, -42.47)
CIE-LCHlch(41.88, 77.21, 326.63°)
OKLaboklab(52.72% 0.1775 -0.1181)
OKLCHoklch(52.72% 0.213 326.4)
XYZxyz(23.5311, 12.4208, 39.1805)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A528AA #2DAA28
analogous
#6428AA #A528AA #AA286E
triadic
#A528AA #AAA528 #28AAA5
tetradic
#A528AA #AA6428 #2DAA28 #286EAA
square
#A528AA #AA6428 #2DAA28 #286EAA
split-complementary
#A528AA #6EAA28 #28AA64
monochromatic
#451147 #751C78 #A528AA #CC3ED2 #D96FDD

Accessibility & contrast

On white

6.03
#A528AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A528AA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A528AA#FFFFFF#000000##FFFFFF
##A528AA1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#4868A7
Tritanopia (blue-blind)
#A93F68
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a528aa;
/* rgb */ color: rgb(165, 40, 170);
/* oklch */ color: oklch(52.7% 0.213 326.4);
Tailwind
colors: {
  custom: {
    50: '#c471c4',
    500: '#a528aa',
    950: '#000000',
  },
}
SCSS
$custom: #a528aa;
$custom-light: #c471c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a528aa",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 297.692,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52715,
    "c": 0.2132,
    "h": 326.4
  },
  "luminance": 0.12419
}

Semantic roles & 50–950 ramp

primary
#A528AA
secondary
#6DC46A
accent
#E54349
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A528AA

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

Preview Lab → · Contrast checker → · Palette generator →

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