#AC27AF#AC27AF

#AC27AF is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.221 H 327.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AC27AF
RGBrgb(172, 39, 175)
HSLhsl(299, 64%, 42%)
HSVhsv(299, 78%, 69%)
CMYKcmyk(1.7%, 77.7%, 0%, 31.4%)
CIE-LABlab(43.24, 67.04, -43.19)
CIE-LCHlch(43.24, 79.75, 327.21°)
OKLaboklab(54% 0.1857 -0.12)
OKLCHoklch(54% 0.221 327.1)
XYZxyz(25.4762, 13.3187, 41.7781)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC27AF #2AAF27
analogous
#6827AF #AC27AF #AF276E
triadic
#AC27AF #AFAC27 #27AFAC
tetradic
#AC27AF #AF6827 #2AAF27 #276EAF
square
#AC27AF #AF6827 #2AAF27 #276EAF
split-complementary
#AC27AF #6EAF27 #27AF68
monochromatic
#4A114B #7B1C7D #AC27AF #D13FD4 #DD71DF

Accessibility & contrast

On white

5.73
#AC27AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AC27AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC27AF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC27AF#FFFFFF#000000##FFFFFF
##AC27AF1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#4B6CAC
Tritanopia (blue-blind)
#B13F6B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac27af;
/* rgb */ color: rgb(172, 39, 175);
/* oklch */ color: oklch(54.0% 0.221 327.1);
Tailwind
colors: {
  custom: {
    50: '#c971c7',
    500: '#ac27af',
    950: '#000000',
  },
}
SCSS
$custom: #ac27af;
$custom-light: #c971c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac27af",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 298.676,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54002,
    "c": 0.22107,
    "h": 327.1
  },
  "luminance": 0.13317
}

Semantic roles & 50–950 ramp

primary
#AC27AF
secondary
#6DC66B
accent
#E74145
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC27AF

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

Preview Lab → · Contrast checker → · Palette generator →

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