#A527A5#A527A5

#A527A5 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.210 H 328.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A527A5
RGBrgb(165, 39, 165)
HSLhsl(300, 62%, 40%)
HSVhsv(300, 76%, 65%)
CMYKcmyk(0%, 76.4%, 0%, 35.3%)
CIE-LABlab(41.48, 63.96, -40.11)
CIE-LCHlch(41.48, 75.50, 327.91°)
OKLaboklab(52.34% 0.1785 -0.1112)
OKLCHoklch(52.34% 0.21 328.1)
XYZxyz(23.0338, 12.1687, 36.7256)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A527A5 #27A527
analogous
#6627A5 #A527A5 #A52766
triadic
#A527A5 #A5A527 #27A5A5
tetradic
#A527A5 #A56627 #27A527 #2766A5
square
#A527A5 #A56627 #27A527 #2766A5
split-complementary
#A527A5 #66A527 #27A566
monochromatic
#421042 #741B74 #A527A5 #D039D0 #DC6ADC

Accessibility & contrast

On white

6.12
#A527A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A527A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A527A5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A527A5#FFFFFF#000000##FFFFFF
##A527A51.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0557A8
Deuteranopia (green-blind)
#4B67A2
Tritanopia (blue-blind)
#AA3C65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a527a5;
/* rgb */ color: rgb(165, 39, 165);
/* oklch */ color: oklch(52.3% 0.210 328.1);
Tailwind
colors: {
  custom: {
    50: '#c470c0',
    500: '#a527a5',
    950: '#000000',
  },
}
SCSS
$custom: #a527a5;
$custom-light: #c470c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a527a5",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 300,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.5234,
    "c": 0.21032,
    "h": 328.1
  },
  "luminance": 0.12167
}

Semantic roles & 50–950 ramp

primary
#A527A5
secondary
#66C266
accent
#E54343
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A527A5

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

Preview Lab → · Contrast checker → · Palette generator →

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