#A527A0#A527A0

#A527A0 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.207 H 329.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A527A0
RGBrgb(165, 39, 160)
HSLhsl(302, 62%, 40%)
HSVhsv(302, 76%, 65%)
CMYKcmyk(0%, 76.4%, 3%, 35.3%)
CIE-LABlab(41.20, 63.15, -37.56)
CIE-LCHlch(41.20, 73.48, 329.26°)
OKLaboklab(52.05% 0.1786 -0.1038)
OKLCHoklch(52.05% 0.207 329.8)
XYZxyz(22.5876, 11.9902, 34.3756)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A527A0 #27A52C
analogous
#6B27A5 #A527A0 #A52761
triadic
#A527A0 #A0A527 #27A0A5
tetradic
#A527A0 #A56B27 #27A52C #2761A5
square
#A527A0 #A56B27 #27A52C #2761A5
split-complementary
#A527A0 #61A527 #27A56B
monochromatic
#421040 #741B70 #A527A0 #D039CA #DC6AD7

Accessibility & contrast

On white

6.18
#A527A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A527A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A527A0
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A527A0#FFFFFF#000000##FFFFFF
##A527A01.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1356A3
Deuteranopia (green-blind)
#4E679D
Tritanopia (blue-blind)
#AB3962
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a527a0;
/* rgb */ color: rgb(165, 39, 160);
/* oklch */ color: oklch(52.0% 0.207 329.8);
Tailwind
colors: {
  custom: {
    50: '#c370bc',
    500: '#a527a0',
    950: '#000000',
  },
}
SCSS
$custom: #a527a0;
$custom-light: #c370bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a527a0",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 160
  },
  "hsl": {
    "h": 302.381,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.52048,
    "c": 0.20656,
    "h": 329.8
  },
  "luminance": 0.11988
}

Semantic roles & 50–950 ramp

primary
#A527A0
secondary
#66C269
accent
#E54943
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A527A0

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

Preview Lab → · Contrast checker → · Palette generator →

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