#A528A6#A528A6

#A528A6 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.210 H 327.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A528A6
RGBrgb(165, 40, 166)
HSLhsl(300, 61%, 40%)
HSVhsv(300, 76%, 65%)
CMYKcmyk(0.6%, 75.9%, 0%, 34.9%)
CIE-LABlab(41.64, 63.82, -40.45)
CIE-LCHlch(41.64, 75.56, 327.63°)
OKLaboklab(52.47% 0.1776 -0.1122)
OKLCHoklch(52.47% 0.21 327.7)
XYZxyz(23.1585, 12.2718, 37.2179)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A528A6 #29A628
analogous
#6628A6 #A528A6 #A62868
triadic
#A528A6 #A6A528 #28A6A5
tetradic
#A528A6 #A66628 #29A628 #2868A6
square
#A528A6 #A66628 #29A628 #2868A6
split-complementary
#A528A6 #68A628 #28A666
monochromatic
#431043 #741C75 #A528A6 #CF3BD0 #DB6DDC

Accessibility & contrast

On white

6.08
#A528A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A528A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A528A6
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A528A6#FFFFFF#000000##FFFFFF
##A528A61.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0558A9
Deuteranopia (green-blind)
#4B68A3
Tritanopia (blue-blind)
#AA3D66
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a528a6;
/* rgb */ color: rgb(165, 40, 166);
/* oklch */ color: oklch(52.5% 0.210 327.7);
Tailwind
colors: {
  custom: {
    50: '#c470c1',
    500: '#a528a6',
    950: '#000000',
  },
}
SCSS
$custom: #a528a6;
$custom-light: #c470c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a528a6",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 299.524,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52474,
    "c": 0.21011,
    "h": 327.7
  },
  "luminance": 0.1227
}

Semantic roles & 50–950 ramp

primary
#A528A6
secondary
#68C267
accent
#E44445
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A528A6

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

Preview Lab → · Contrast checker → · Palette generator →

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