#A727AF#A727AF

#A727AF is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.219 H 325.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A727AF
RGBrgb(167, 39, 175)
HSLhsl(296, 64%, 42%)
HSVhsv(296, 78%, 69%)
CMYKcmyk(4.6%, 77.7%, 0%, 31.4%)
CIE-LABlab(42.40, 66.03, -44.58)
CIE-LCHlch(42.40, 79.67, 325.98°)
OKLaboklab(53.25% 0.1803 -0.1242)
OKLCHoklch(53.25% 0.219 325.4)
XYZxyz(24.3992, 12.7633, 41.7276)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A727AF #2FAF27
analogous
#6327AF #A727AF #AF2773
triadic
#A727AF #AFA727 #27AFA7
tetradic
#A727AF #AF6327 #2FAF27 #2773AF
square
#A727AF #AF6327 #2FAF27 #2773AF
split-complementary
#A727AF #73AF27 #27AF63
monochromatic
#47114B #771C7D #A727AF #CB3FD4 #D971DF

Accessibility & contrast

On white

5.91
#A727AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A727AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A727AF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A727AF#FFFFFF#000000##FFFFFF
##A727AF1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#4669AC
Tritanopia (blue-blind)
#AB406B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a727af;
/* rgb */ color: rgb(167, 39, 175);
/* oklch */ color: oklch(53.2% 0.219 325.4);
Tailwind
colors: {
  custom: {
    50: '#c571c7',
    500: '#a727af',
    950: '#000000',
  },
}
SCSS
$custom: #a727af;
$custom-light: #c571c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a727af",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 296.471,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53249,
    "c": 0.21888,
    "h": 325.4
  },
  "luminance": 0.12762
}

Semantic roles & 50–950 ramp

primary
#A727AF
secondary
#71C66B
accent
#E7414B
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A727AF

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

Preview Lab → · Contrast checker → · Palette generator →

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