#A528A8#A528A8

#A528A8 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.212 H 327.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A528A8
RGBrgb(165, 40, 168)
HSLhsl(299, 62%, 41%)
HSVhsv(299, 76%, 66%)
CMYKcmyk(1.8%, 76.2%, 0%, 34.1%)
CIE-LABlab(41.76, 64.15, -41.46)
CIE-LCHlch(41.76, 76.38, 327.13°)
OKLaboklab(52.59% 0.1776 -0.1151)
OKLCHoklch(52.59% 0.212 327)
XYZxyz(23.3433, 12.3457, 38.1917)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A528A8 #2BA828
analogous
#6528A8 #A528A8 #A8286B
triadic
#A528A8 #A8A528 #28A8A5
tetradic
#A528A8 #A86528 #2BA828 #286BA8
square
#A528A8 #A86528 #2BA828 #286BA8
split-complementary
#A528A8 #6BA828 #28A865
monochromatic
#441045 #741C77 #A528A8 #CD3DD1 #DA6EDC

Accessibility & contrast

On white

6.05
#A528A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A528A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A528A8
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A528A8#FFFFFF#000000##FFFFFF
##A528A81.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#4968A5
Tritanopia (blue-blind)
#AA3E67
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a528a8;
/* rgb */ color: rgb(165, 40, 168);
/* oklch */ color: oklch(52.6% 0.212 327.0);
Tailwind
colors: {
  custom: {
    50: '#c470c2',
    500: '#a528a8',
    950: '#000000',
  },
}
SCSS
$custom: #a528a8;
$custom-light: #c470c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a528a8",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 298.594,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52594,
    "c": 0.21165,
    "h": 327
  },
  "luminance": 0.12344
}

Semantic roles & 50–950 ramp

primary
#A528A8
secondary
#6BC369
accent
#E54347
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A528A8

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

Preview Lab → · Contrast checker → · Palette generator →

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