#AC2FA7#AC2FA7

#AC2FA7 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.1% C 0.207 H 329.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AC2FA7
RGBrgb(172, 47, 167)
HSLhsl(302, 57%, 43%)
HSVhsv(302, 73%, 67%)
CMYKcmyk(0%, 72.7%, 2.9%, 32.5%)
CIE-LABlab(43.65, 63.28, -37.80)
CIE-LCHlch(43.65, 73.71, 329.15°)
OKLaboklab(54.15% 0.1788 -0.1044)
OKLCHoklch(54.15% 0.207 329.7)
XYZxyz(25.0047, 13.5956, 37.8590)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2FA7 #2FAC34
analogous
#722FAC #AC2FA7 #AC2F68
triadic
#AC2FA7 #A7AC2F #2FA7AC
tetradic
#AC2FA7 #AC722F #2FAC34 #2F68AC
square
#AC2FA7 #AC722F #2FAC34 #2F68AC
split-complementary
#AC2FA7 #68AC2F #2FAC72
monochromatic
#4C154A #7C2278 #AC2FA7 #CE4BC8 #DB7BD7

Accessibility & contrast

On white

5.65
#AC2FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AC2FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2FA7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2FA7#FFFFFF#000000##FFFFFF
##AC2FA71.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5CAA
Deuteranopia (green-blind)
#546DA4
Tritanopia (blue-blind)
#B24068
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac2fa7;
/* rgb */ color: rgb(172, 47, 167);
/* oklch */ color: oklch(54.1% 0.207 329.7);
Tailwind
colors: {
  custom: {
    50: '#c874c1',
    500: '#ac2fa7',
    950: '#000000',
  },
}
SCSS
$custom: #ac2fa7;
$custom-light: #c874c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2fa7",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 302.4,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54149,
    "c": 0.20701,
    "h": 329.7
  },
  "luminance": 0.13594
}

Semantic roles & 50–950 ramp

primary
#AC2FA7
secondary
#74C377
accent
#E04E47
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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