#A727AA#A727AA

#A727AA is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.215 H 327.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A727AA
RGBrgb(167, 39, 170)
HSLhsl(299, 63%, 41%)
HSVhsv(299, 77%, 67%)
CMYKcmyk(1.8%, 77.1%, 0%, 33.3%)
CIE-LABlab(42.11, 65.20, -42.08)
CIE-LCHlch(42.11, 77.60, 327.16°)
OKLaboklab(52.94% 0.1805 -0.1169)
OKLCHoklch(52.94% 0.215 327.1)
XYZxyz(23.9172, 12.5705, 39.1891)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A727AA #2AAA27
analogous
#6527AA #A727AA #AA276B
triadic
#A727AA #AAA727 #27AAA7
tetradic
#A727AA #AA6527 #2AAA27 #276BAA
square
#A727AA #AA6527 #2AAA27 #276BAA
split-complementary
#A727AA #6BAA27 #27AA65
monochromatic
#451046 #761C78 #A727AA #CF3CD2 #DB6EDE

Accessibility & contrast

On white

5.98
#A727AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A727AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A727AA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A727AA#FFFFFF#000000##FFFFFF
##A727AA1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#4A69A7
Tritanopia (blue-blind)
#AC3E68
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a727aa;
/* rgb */ color: rgb(167, 39, 170);
/* oklch */ color: oklch(52.9% 0.215 327.1);
Tailwind
colors: {
  custom: {
    50: '#c570c4',
    500: '#a727aa',
    950: '#000000',
  },
}
SCSS
$custom: #a727aa;
$custom-light: #c570c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a727aa",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 298.626,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52944,
    "c": 0.21504,
    "h": 327.1
  },
  "luminance": 0.12569
}

Semantic roles & 50–950 ramp

primary
#A727AA
secondary
#6BC469
accent
#E64246
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A727AA

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

Preview Lab → · Contrast checker → · Palette generator →

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