#A727AE#A727AE

#A727AE is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.218 H 325.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A727AE
RGBrgb(167, 39, 174)
HSLhsl(297, 63%, 42%)
HSVhsv(297, 78%, 68%)
CMYKcmyk(4%, 77.6%, 0%, 31.8%)
CIE-LABlab(42.34, 65.86, -44.08)
CIE-LCHlch(42.34, 79.25, 326.21°)
OKLaboklab(53.19% 0.1803 -0.1227)
OKLCHoklch(53.19% 0.218 325.8)
XYZxyz(24.3013, 12.7242, 41.2122)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A727AE #2EAE27
analogous
#6427AE #A727AE #AE2772
triadic
#A727AE #AEA727 #27AEA7
tetradic
#A727AE #AE6427 #2EAE27 #2772AE
square
#A727AE #AE6427 #2EAE27 #2772AE
split-complementary
#A727AE #72AE27 #27AE64
monochromatic
#47114A #771C7C #A727AE #CC3ED4 #D970DF

Accessibility & contrast

On white

5.92
#A727AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A727AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A727AE
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A727AE#FFFFFF#000000##FFFFFF
##A727AE1.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#4769AB
Tritanopia (blue-blind)
#AB406A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a727ae;
/* rgb */ color: rgb(167, 39, 174);
/* oklch */ color: oklch(53.2% 0.218 325.8);
Tailwind
colors: {
  custom: {
    50: '#c571c7',
    500: '#a727ae',
    950: '#000000',
  },
}
SCSS
$custom: #a727ae;
$custom-light: #c571c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a727ae",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 296.889,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53187,
    "c": 0.21811,
    "h": 325.8
  },
  "luminance": 0.12723
}

Semantic roles & 50–950 ramp

primary
#A727AE
secondary
#70C66B
accent
#E6414A
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A727AE

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

Preview Lab → · Contrast checker → · Palette generator →

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