#AC2FB1#AC2FB1

#AC2FB1 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.7% C 0.215 H 326.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AC2FB1
RGBrgb(172, 47, 177)
HSLhsl(298, 58%, 44%)
HSVhsv(298, 73%, 69%)
CMYKcmyk(2.8%, 73.4%, 0%, 30.6%)
CIE-LABlab(44.20, 64.93, -42.84)
CIE-LCHlch(44.20, 77.79, 326.58°)
OKLaboklab(54.73% 0.1788 -0.119)
OKLCHoklch(54.73% 0.215 326.3)
XYZxyz(25.9651, 13.9798, 42.9172)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2FB1 #34B12F
analogous
#6B2FB1 #AC2FB1 #B12F75
triadic
#AC2FB1 #B1AC2F #2FB1AC
tetradic
#AC2FB1 #B16B2F #34B12F #2F75B1
square
#AC2FB1 #B16B2F #34B12F #2F75B1
split-complementary
#AC2FB1 #75B12F #2FB16B
monochromatic
#4E1550 #7D2281 #AC2FB1 #CB4DD0 #D97EDD

Accessibility & contrast

On white

5.53
#AC2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AC2FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2FB1
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2FB1#FFFFFF#000000##FFFFFF
##AC2FB11.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095FB5
Deuteranopia (green-blind)
#4E6EAE
Tritanopia (blue-blind)
#B1456E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac2fb1;
/* rgb */ color: rgb(172, 47, 177);
/* oklch */ color: oklch(54.7% 0.215 326.3);
Tailwind
colors: {
  custom: {
    50: '#c875c9',
    500: '#ac2fb1',
    950: '#000000',
  },
}
SCSS
$custom: #ac2fb1;
$custom-light: #c875c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2fb1",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 297.692,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54726,
    "c": 0.21476,
    "h": 326.3
  },
  "luminance": 0.13978
}

Semantic roles & 50–950 ramp

primary
#AC2FB1
secondary
#79C576
accent
#E1474C
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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