#AC2FB4#AC2FB4

#AC2FB4 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.217 H 325.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AC2FB4
RGBrgb(172, 47, 180)
HSLhsl(296, 59%, 45%)
HSVhsv(296, 74%, 71%)
CMYKcmyk(4.4%, 73.9%, 0%, 29.4%)
CIE-LABlab(44.38, 65.44, -44.33)
CIE-LCHlch(44.38, 79.04, 325.88°)
OKLaboklab(54.91% 0.1787 -0.1234)
OKLCHoklch(54.91% 0.217 325.4)
XYZxyz(26.2674, 14.1007, 44.5093)
Luminance0.1410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2FB4 #37B42F
analogous
#6A2FB4 #AC2FB4 #B42F7A
triadic
#AC2FB4 #B4AC2F #2FB4AC
tetradic
#AC2FB4 #B46A2F #37B42F #2F7AB4
square
#AC2FB4 #B46A2F #37B42F #2F7AB4
split-complementary
#AC2FB4 #7AB42F #2FB46A
monochromatic
#4F1653 #7E2283 #AC2FB4 #C94FD1 #D880DE

Accessibility & contrast

On white

5.50
#AC2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AC2FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2FB4
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2FB4#FFFFFF#000000##FFFFFF
##AC2FB41.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#4C6EB1
Tritanopia (blue-blind)
#B0466F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac2fb4;
/* rgb */ color: rgb(172, 47, 180);
/* oklch */ color: oklch(54.9% 0.217 325.4);
Tailwind
colors: {
  custom: {
    50: '#c975cb',
    500: '#ac2fb4',
    950: '#000000',
  },
}
SCSS
$custom: #ac2fb4;
$custom-light: #c975cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2fb4",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 296.391,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54906,
    "c": 0.21713,
    "h": 325.4
  },
  "luminance": 0.14099
}

Semantic roles & 50–950 ramp

primary
#AC2FB4
secondary
#7DC778
accent
#E2464F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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