#AC2FB3#AC2FB3

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

Color values

HEX#AC2FB3
RGBrgb(172, 47, 179)
HSLhsl(297, 58%, 44%)
HSVhsv(297, 74%, 70%)
CMYKcmyk(3.9%, 73.7%, 0%, 29.8%)
CIE-LABlab(44.32, 65.27, -43.84)
CIE-LCHlch(44.32, 78.62, 326.11°)
OKLaboklab(54.85% 0.1787 -0.1219)
OKLCHoklch(54.85% 0.216 325.7)
XYZxyz(26.1659, 14.0601, 43.9748)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2FB3 #36B32F
analogous
#6A2FB3 #AC2FB3 #B32F78
triadic
#AC2FB3 #B3AC2F #2FB3AC
tetradic
#AC2FB3 #B36A2F #36B32F #2F78B3
square
#AC2FB3 #B36A2F #36B32F #2F78B3
split-complementary
#AC2FB3 #78B32F #2FB36A
monochromatic
#4F1652 #7D2283 #AC2FB3 #CA4FD1 #D87FDD

Accessibility & contrast

On white

5.51
#AC2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AC2FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2FB3
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2FB3#FFFFFF#000000##FFFFFF
##AC2FB31.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015FB7
Deuteranopia (green-blind)
#4C6EB0
Tritanopia (blue-blind)
#B0466F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac2fb3;
/* rgb */ color: rgb(172, 47, 179);
/* oklch */ color: oklch(54.8% 0.216 325.7);
Tailwind
colors: {
  custom: {
    50: '#c975ca',
    500: '#ac2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #ac2fb3;
$custom-light: #c975ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2fb3",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 296.818,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54846,
    "c": 0.21633,
    "h": 325.7
  },
  "luminance": 0.14058
}

Semantic roles & 50–950 ramp

primary
#AC2FB3
secondary
#7CC678
accent
#E2464E
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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