#A528A7#A528A7

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

Color values

HEX#A528A7
RGBrgb(165, 40, 167)
HSLhsl(299, 61%, 41%)
HSVhsv(299, 76%, 65%)
CMYKcmyk(1.2%, 76%, 0%, 34.5%)
CIE-LABlab(41.70, 63.99, -40.96)
CIE-LCHlch(41.70, 75.97, 327.38°)
OKLaboklab(52.53% 0.1776 -0.1137)
OKLCHoklch(52.53% 0.211 327.4)
XYZxyz(23.2505, 12.3086, 37.7029)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A528A7 #2AA728
analogous
#6528A7 #A528A7 #A72869
triadic
#A528A7 #A7A528 #28A7A5
tetradic
#A528A7 #A76528 #2AA728 #2869A7
square
#A528A7 #A76528 #2AA728 #2869A7
split-complementary
#A528A7 #69A728 #28A765
monochromatic
#431044 #741C76 #A528A7 #CE3CD0 #DA6DDC

Accessibility & contrast

On white

6.07
#A528A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A528A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A528A7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A528A7#FFFFFF#000000##FFFFFF
##A528A71.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0258AA
Deuteranopia (green-blind)
#4A68A4
Tritanopia (blue-blind)
#AA3D66
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a528a7;
/* rgb */ color: rgb(165, 40, 167);
/* oklch */ color: oklch(52.5% 0.211 327.4);
Tailwind
colors: {
  custom: {
    50: '#c470c2',
    500: '#a528a7',
    950: '#000000',
  },
}
SCSS
$custom: #a528a7;
$custom-light: #c470c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a528a7",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 299.055,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52534,
    "c": 0.21088,
    "h": 327.4
  },
  "luminance": 0.12307
}

Semantic roles & 50–950 ramp

primary
#A528A7
secondary
#69C368
accent
#E44346
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A528A7

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

Preview Lab → · Contrast checker → · Palette generator →

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