#A528A0#A528A0

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

Color values

HEX#A528A0
RGBrgb(165, 40, 160)
HSLhsl(302, 61%, 40%)
HSVhsv(302, 76%, 65%)
CMYKcmyk(0%, 75.8%, 3%, 35.3%)
CIE-LABlab(41.31, 62.85, -37.40)
CIE-LCHlch(41.31, 73.13, 329.25°)
OKLaboklab(52.12% 0.1777 -0.1033)
OKLCHoklch(52.12% 0.206 329.8)
XYZxyz(22.6209, 12.0567, 34.3867)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A528A0 #28A52D
analogous
#6B28A5 #A528A0 #A52861
triadic
#A528A0 #A0A528 #28A0A5
tetradic
#A528A0 #A56B28 #28A52D #2861A5
square
#A528A0 #A56B28 #28A52D #2861A5
split-complementary
#A528A0 #61A528 #28A56B
monochromatic
#421040 #741C70 #A528A0 #CF3BC9 #DB6CD7

Accessibility & contrast

On white

6.16
#A528A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A528A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A528A0
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A528A0#FFFFFF#000000##FFFFFF
##A528A01.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1557A3
Deuteranopia (green-blind)
#4E679D
Tritanopia (blue-blind)
#AB3A62
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a528a0;
/* rgb */ color: rgb(165, 40, 160);
/* oklch */ color: oklch(52.1% 0.206 329.8);
Tailwind
colors: {
  custom: {
    50: '#c370bc',
    500: '#a528a0',
    950: '#000000',
  },
}
SCSS
$custom: #a528a0;
$custom-light: #c370bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a528a0",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 302.4,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52123,
    "c": 0.20556,
    "h": 329.8
  },
  "luminance": 0.12055
}

Semantic roles & 50–950 ramp

primary
#A528A0
secondary
#67C26B
accent
#E44A44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A528A0

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

Preview Lab → · Contrast checker → · Palette generator →

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