#A727AC#A727AC

#A727AC is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.1% C 0.217 H 326.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#A727AC
RGBrgb(167, 39, 172)
HSLhsl(298, 63%, 41%)
HSVhsv(298, 77%, 67%)
CMYKcmyk(2.9%, 77.3%, 0%, 32.5%)
CIE-LABlab(42.23, 65.53, -43.08)
CIE-LCHlch(42.23, 78.42, 326.68°)
OKLaboklab(53.07% 0.1804 -0.1198)
OKLCHoklch(53.07% 0.217 326.4)
XYZxyz(24.1078, 12.6468, 40.1930)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A727AC #2CAC27
analogous
#6527AC #A727AC #AC276F
triadic
#A727AC #ACA727 #27ACA7
tetradic
#A727AC #AC6527 #2CAC27 #276FAC
square
#A727AC #AC6527 #2CAC27 #276FAC
split-complementary
#A727AC #6FAC27 #27AC65
monochromatic
#461048 #771C7A #A727AC #CD3DD3 #DA6FDE

Accessibility & contrast

On white

5.95
#A727AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A727AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A727AC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A727AC#FFFFFF#000000##FFFFFF
##A727AC1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#4869A9
Tritanopia (blue-blind)
#AB3F69
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a727ac;
/* rgb */ color: rgb(167, 39, 172);
/* oklch */ color: oklch(53.1% 0.217 326.4);
Tailwind
colors: {
  custom: {
    50: '#c571c5',
    500: '#a727ac',
    950: '#000000',
  },
}
SCSS
$custom: #a727ac;
$custom-light: #c571c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a727ac",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 297.744,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53065,
    "c": 0.21658,
    "h": 326.4
  },
  "luminance": 0.12645
}

Semantic roles & 50–950 ramp

primary
#A727AC
secondary
#6DC56A
accent
#E64248
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A727AC

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

Preview Lab → · Contrast checker → · Palette generator →

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