#A527A9#A527A9

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

Color values

HEX#A527A9
RGBrgb(165, 39, 169)
HSLhsl(298, 63%, 41%)
HSVhsv(298, 77%, 66%)
CMYKcmyk(2.4%, 76.9%, 0%, 33.7%)
CIE-LABlab(41.71, 64.62, -42.13)
CIE-LCHlch(41.71, 77.14, 326.90°)
OKLaboklab(52.58% 0.1784 -0.1171)
OKLCHoklch(52.58% 0.213 326.7)
XYZxyz(23.4036, 12.3166, 38.6731)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A527A9 #2BA927
analogous
#6427A9 #A527A9 #A9276C
triadic
#A527A9 #A9A527 #27A9A5
tetradic
#A527A9 #A96427 #2BA927 #276CA9
square
#A527A9 #A96427 #2BA927 #276CA9
split-complementary
#A527A9 #6CA927 #27A964
monochromatic
#441046 #741C77 #A527A9 #CD3BD2 #DA6DDD

Accessibility & contrast

On white

6.06
#A527A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A527A9
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A527A9#FFFFFF#000000##FFFFFF
##A527A91.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4868A6
Tritanopia (blue-blind)
#AA3E67
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a527a9;
/* rgb */ color: rgb(165, 39, 169);
/* oklch */ color: oklch(52.6% 0.213 326.7);
Tailwind
colors: {
  custom: {
    50: '#c470c3',
    500: '#a527a9',
    950: '#000000',
  },
}
SCSS
$custom: #a527a9;
$custom-light: #c470c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a527a9",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 298.154,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5258,
    "c": 0.21338,
    "h": 326.7
  },
  "luminance": 0.12315
}

Semantic roles & 50–950 ramp

primary
#A527A9
secondary
#6BC468
accent
#E64247
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A527A9

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

Preview Lab → · Contrast checker → · Palette generator →

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