#A727A4#A727A4

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

Color values

HEX#A727A4
RGBrgb(167, 39, 164)
HSLhsl(301, 62%, 40%)
HSVhsv(301, 77%, 65%)
CMYKcmyk(0%, 76.6%, 1.8%, 34.5%)
CIE-LABlab(41.77, 64.22, -39.04)
CIE-LCHlch(41.77, 75.16, 328.70°)
OKLaboklab(52.59% 0.1807 -0.1081)
OKLCHoklch(52.59% 0.211 329.1)
XYZxyz(23.3625, 12.3487, 36.2678)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A727A4 #27A72A
analogous
#6A27A7 #A727A4 #A72764
triadic
#A727A4 #A4A727 #27A4A7
tetradic
#A727A4 #A76A27 #27A72A #2764A7
square
#A727A4 #A76A27 #27A72A #2764A7
split-complementary
#A727A4 #64A727 #27A76A
monochromatic
#441043 #751B73 #A727A4 #D13ACD #DD6CDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A727A4#FFFFFF#000000##FFFFFF
##A727A41.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)
#0D58A7
Deuteranopia (green-blind)
#4D68A1
Tritanopia (blue-blind)
#AD3B64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a727a4;
/* rgb */ color: rgb(167, 39, 164);
/* oklch */ color: oklch(52.6% 0.211 329.1);
Tailwind
colors: {
  custom: {
    50: '#c570bf',
    500: '#a727a4',
    950: '#000000',
  },
}
SCSS
$custom: #a727a4;
$custom-light: #c570bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a727a4",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 301.406,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52588,
    "c": 0.21051,
    "h": 329.1
  },
  "luminance": 0.12347
}

Semantic roles & 50–950 ramp

primary
#A727A4
secondary
#67C369
accent
#E54643
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A727A4

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

Preview Lab → · Contrast checker → · Palette generator →

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