#AC2FA8#AC2FA8

#AC2FA8 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.208 H 329.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AC2FA8
RGBrgb(172, 47, 168)
HSLhsl(302, 57%, 43%)
HSVhsv(302, 73%, 67%)
CMYKcmyk(0%, 72.7%, 2.3%, 32.5%)
CIE-LABlab(43.70, 63.44, -38.31)
CIE-LCHlch(43.70, 74.11, 328.88°)
OKLaboklab(54.21% 0.1788 -0.1059)
OKLCHoklch(54.21% 0.208 329.4)
XYZxyz(25.0975, 13.6327, 38.3477)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2FA8 #2FAC33
analogous
#712FAC #AC2FA8 #AC2F69
triadic
#AC2FA8 #A8AC2F #2FA8AC
tetradic
#AC2FA8 #AC712F #2FAC33 #2F69AC
square
#AC2FA8 #AC712F #2FAC33 #2F69AC
split-complementary
#AC2FA8 #69AC2F #2FAC71
monochromatic
#4C154A #7C2279 #AC2FA8 #CE4BC9 #DB7BD8

Accessibility & contrast

On white

5.64
#AC2FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AC2FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2FA8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2FA8#FFFFFF#000000##FFFFFF
##AC2FA81.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5DAB
Deuteranopia (green-blind)
#536DA5
Tritanopia (blue-blind)
#B24069
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac2fa8;
/* rgb */ color: rgb(172, 47, 168);
/* oklch */ color: oklch(54.2% 0.208 329.4);
Tailwind
colors: {
  custom: {
    50: '#c874c2',
    500: '#ac2fa8',
    950: '#000000',
  },
}
SCSS
$custom: #ac2fa8;
$custom-light: #c874c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2fa8",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 301.92,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54205,
    "c": 0.20778,
    "h": 329.4
  },
  "luminance": 0.13631
}

Semantic roles & 50–950 ramp

primary
#AC2FA8
secondary
#74C376
accent
#E04C47
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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