#A527A6#A527A6

#A527A6 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.211 H 327.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A527A6
RGBrgb(165, 39, 166)
HSLhsl(300, 62%, 40%)
HSVhsv(300, 77%, 65%)
CMYKcmyk(0.6%, 76.5%, 0%, 34.9%)
CIE-LABlab(41.54, 64.12, -40.62)
CIE-LCHlch(41.54, 75.90, 327.65°)
OKLaboklab(52.4% 0.1785 -0.1127)
OKLCHoklch(52.4% 0.211 327.7)
XYZxyz(23.1252, 12.2052, 37.2069)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A527A6 #28A627
analogous
#6627A6 #A527A6 #A62767
triadic
#A527A6 #A6A527 #27A6A5
tetradic
#A527A6 #A66627 #28A627 #2767A6
square
#A527A6 #A66627 #28A627 #2767A6
split-complementary
#A527A6 #67A627 #27A666
monochromatic
#421043 #741B74 #A527A6 #CF3AD1 #DB6BDC

Accessibility & contrast

On white

6.10
#A527A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A527A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A527A6
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A527A6#FFFFFF#000000##FFFFFF
##A527A61.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0258A9
Deuteranopia (green-blind)
#4A68A3
Tritanopia (blue-blind)
#AA3C66
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a527a6;
/* rgb */ color: rgb(165, 39, 166);
/* oklch */ color: oklch(52.4% 0.211 327.7);
Tailwind
colors: {
  custom: {
    50: '#c470c1',
    500: '#a527a6',
    950: '#000000',
  },
}
SCSS
$custom: #a527a6;
$custom-light: #c470c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a527a6",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 299.528,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.524,
    "c": 0.21109,
    "h": 327.7
  },
  "luminance": 0.12204
}

Semantic roles & 50–950 ramp

primary
#A527A6
secondary
#67C366
accent
#E54344
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A527A6

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

Preview Lab → · Contrast checker → · Palette generator →

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