#A527A2#A527A2

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

Color values

HEX#A527A2
RGBrgb(165, 39, 162)
HSLhsl(301, 62%, 40%)
HSVhsv(301, 76%, 65%)
CMYKcmyk(0%, 76.4%, 1.8%, 35.3%)
CIE-LABlab(41.31, 63.47, -38.59)
CIE-LCHlch(41.31, 74.28, 328.70°)
OKLaboklab(52.16% 0.1786 -0.1068)
OKLCHoklch(52.16% 0.208 329.1)
XYZxyz(22.7640, 12.0607, 35.3044)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A527A2 #27A52A
analogous
#6927A5 #A527A2 #A52763
triadic
#A527A2 #A2A527 #27A2A5
tetradic
#A527A2 #A56927 #27A52A #2763A5
square
#A527A2 #A56927 #27A52A #2763A5
split-complementary
#A527A2 #63A527 #27A569
monochromatic
#421041 #741B71 #A527A2 #D039CD #DC6AD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A527A2#FFFFFF#000000##FFFFFF
##A527A21.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)
#0F57A5
Deuteranopia (green-blind)
#4D679F
Tritanopia (blue-blind)
#AB3A63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a527a2;
/* rgb */ color: rgb(165, 39, 162);
/* oklch */ color: oklch(52.2% 0.208 329.1);
Tailwind
colors: {
  custom: {
    50: '#c470be',
    500: '#a527a2',
    950: '#000000',
  },
}
SCSS
$custom: #a527a2;
$custom-light: #c470be;
$custom-dark: #000000;
JSON
{
  "hex": "#a527a2",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 301.429,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.52164,
    "c": 0.20805,
    "h": 329.1
  },
  "luminance": 0.12059
}

Semantic roles & 50–950 ramp

primary
#A527A2
secondary
#66C268
accent
#E54743
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A527A2

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

Preview Lab → · Contrast checker → · Palette generator →

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