#A527AA#A527AA

#A527AA is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.214 H 326.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A527AA
RGBrgb(165, 39, 170)
HSLhsl(298, 63%, 41%)
HSVhsv(298, 77%, 67%)
CMYKcmyk(2.9%, 77.1%, 0%, 33.3%)
CIE-LABlab(41.77, 64.78, -42.63)
CIE-LCHlch(41.77, 77.55, 326.65°)
OKLaboklab(52.64% 0.1783 -0.1186)
OKLCHoklch(52.64% 0.214 326.4)
XYZxyz(23.4978, 12.3543, 39.1694)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A527AA #2CAA27
analogous
#6327AA #A527AA #AA276D
triadic
#A527AA #AAA527 #27AAA5
tetradic
#A527AA #AA6327 #2CAA27 #276DAA
square
#A527AA #AA6327 #2CAA27 #276DAA
split-complementary
#A527AA #6DAA27 #27AA63
monochromatic
#441046 #751C78 #A527AA #CD3CD2 #D96EDE

Accessibility & contrast

On white

6.05
#A527AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A527AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A527AA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A527AA#FFFFFF#000000##FFFFFF
##A527AA1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#4868A7
Tritanopia (blue-blind)
#A93E68
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a527aa;
/* rgb */ color: rgb(165, 39, 170);
/* oklch */ color: oklch(52.6% 0.214 326.4);
Tailwind
colors: {
  custom: {
    50: '#c470c4',
    500: '#a527aa',
    950: '#000000',
  },
}
SCSS
$custom: #a527aa;
$custom-light: #c470c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a527aa",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 297.71,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52641,
    "c": 0.21415,
    "h": 326.4
  },
  "luminance": 0.12353
}

Semantic roles & 50–950 ramp

primary
#A527AA
secondary
#6CC469
accent
#E64248
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A527AA

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

Preview Lab → · Contrast checker → · Palette generator →

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