#A527A8#A527A8

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

Color values

HEX#A527A8
RGBrgb(165, 39, 168)
HSLhsl(299, 62%, 41%)
HSVhsv(299, 77%, 66%)
CMYKcmyk(1.8%, 76.8%, 0%, 34.1%)
CIE-LABlab(41.66, 64.45, -41.63)
CIE-LCHlch(41.66, 76.73, 327.14°)
OKLaboklab(52.52% 0.1784 -0.1156)
OKLCHoklch(52.52% 0.213 327.1)
XYZxyz(23.3101, 12.2792, 38.1806)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A527A8 #2AA827
analogous
#6527A8 #A527A8 #A8276A
triadic
#A527A8 #A8A527 #27A8A5
tetradic
#A527A8 #A86527 #2AA827 #276AA8
square
#A527A8 #A86527 #2AA827 #276AA8
split-complementary
#A527A8 #6AA827 #27A865
monochromatic
#431045 #741B76 #A527A8 #CE3BD1 #DA6CDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A527A8#FFFFFF#000000##FFFFFF
##A527A81.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a527a8;
/* rgb */ color: rgb(165, 39, 168);
/* oklch */ color: oklch(52.5% 0.213 327.1);
Tailwind
colors: {
  custom: {
    50: '#c470c2',
    500: '#a527a8',
    950: '#000000',
  },
}
SCSS
$custom: #a527a8;
$custom-light: #c470c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a527a8",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 298.605,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5252,
    "c": 0.21261,
    "h": 327.1
  },
  "luminance": 0.12278
}

Semantic roles & 50–950 ramp

primary
#A527A8
secondary
#69C367
accent
#E54246
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A527A8

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

Preview Lab → · Contrast checker → · Palette generator →

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