#AC2FAF#AC2FAF

#AC2FAF is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.213 H 327.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AC2FAF
RGBrgb(172, 47, 175)
HSLhsl(299, 58%, 44%)
HSVhsv(299, 73%, 69%)
CMYKcmyk(1.7%, 73.1%, 0%, 31.4%)
CIE-LABlab(44.09, 64.59, -41.84)
CIE-LCHlch(44.09, 76.96, 327.07°)
OKLaboklab(54.61% 0.1788 -0.1161)
OKLCHoklch(54.61% 0.213 327)
XYZxyz(25.7672, 13.9006, 41.8751)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2FAF #32AF2F
analogous
#6C2FAF #AC2FAF #AF2F72
triadic
#AC2FAF #AFAC2F #2FAFAC
tetradic
#AC2FAF #AF6C2F #32AF2F #2F72AF
square
#AC2FAF #AF6C2F #32AF2F #2F72AF
split-complementary
#AC2FAF #72AF2F #2FAF6C
monochromatic
#4D154F #7D227F #AC2FAF #CC4CCF #DA7CDC

Accessibility & contrast

On white

5.56
#AC2FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AC2FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2FAF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2FAF#FFFFFF#000000##FFFFFF
##AC2FAF1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5EB3
Deuteranopia (green-blind)
#4F6EAC
Tritanopia (blue-blind)
#B1446D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac2faf;
/* rgb */ color: rgb(172, 47, 175);
/* oklch */ color: oklch(54.6% 0.213 327.0);
Tailwind
colors: {
  custom: {
    50: '#c875c7',
    500: '#ac2faf',
    950: '#000000',
  },
}
SCSS
$custom: #ac2faf;
$custom-light: #c875c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2faf",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 298.594,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54608,
    "c": 0.2132,
    "h": 327
  },
  "luminance": 0.13899
}

Semantic roles & 50–950 ramp

primary
#AC2FAF
secondary
#77C475
accent
#E1474B
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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