#AC2FB2#AC2FB2

#AC2FB2 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.216 H 326.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AC2FB2
RGBrgb(172, 47, 178)
HSLhsl(297, 58%, 44%)
HSVhsv(297, 74%, 70%)
CMYKcmyk(3.4%, 73.6%, 0%, 30.2%)
CIE-LABlab(44.26, 65.10, -43.34)
CIE-LCHlch(44.26, 78.21, 326.35°)
OKLaboklab(54.79% 0.1787 -0.1205)
OKLCHoklch(54.79% 0.216 326)
XYZxyz(26.0651, 14.0198, 43.4441)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2FB2 #35B22F
analogous
#6B2FB2 #AC2FB2 #B22F77
triadic
#AC2FB2 #B2AC2F #2FB2AC
tetradic
#AC2FB2 #B26B2F #35B22F #2F77B2
square
#AC2FB2 #B26B2F #35B22F #2F77B2
split-complementary
#AC2FB2 #77B22F #2FB26B
monochromatic
#4E1551 #7D2282 #AC2FB2 #CA4ED0 #D97EDD

Accessibility & contrast

On white

5.52
#AC2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2FB2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2FB2#FFFFFF#000000##FFFFFF
##AC2FB21.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055FB6
Deuteranopia (green-blind)
#4D6EAF
Tritanopia (blue-blind)
#B0456E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac2fb2;
/* rgb */ color: rgb(172, 47, 178);
/* oklch */ color: oklch(54.8% 0.216 326.0);
Tailwind
colors: {
  custom: {
    50: '#c975c9',
    500: '#ac2fb2',
    950: '#000000',
  },
}
SCSS
$custom: #ac2fb2;
$custom-light: #c975c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2fb2",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 297.252,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54786,
    "c": 0.21555,
    "h": 326
  },
  "luminance": 0.14018
}

Semantic roles & 50–950 ramp

primary
#AC2FB2
secondary
#7BC677
accent
#E1464D
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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