#AC2FB8#AC2FB8

#AC2FB8 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.220 H 324.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AC2FB8
RGBrgb(172, 47, 184)
HSLhsl(295, 59%, 45%)
HSVhsv(295, 74%, 72%)
CMYKcmyk(6.5%, 74.5%, 0%, 27.8%)
CIE-LABlab(44.61, 66.12, -46.31)
CIE-LCHlch(44.61, 80.73, 324.99°)
OKLaboklab(55.15% 0.1785 -0.1291)
OKLCHoklch(55.15% 0.22 324.1)
XYZxyz(26.6808, 14.2661, 46.6864)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2FB8 #3BB82F
analogous
#682FB8 #AC2FB8 #B82F7F
triadic
#AC2FB8 #B8AC2F #2FB8AC
tetradic
#AC2FB8 #B8682F #3BB82F #2F7FB8
square
#AC2FB8 #B8682F #3BB82F #2F7FB8
split-complementary
#AC2FB8 #7FB82F #2FB868
monochromatic
#511657 #7E2387 #AC2FB8 #C752D3 #D782DF

Accessibility & contrast

On white

5.45
#AC2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AC2FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2FB8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2FB8#FFFFFF#000000##FFFFFF
##AC2FB81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#496EB5
Tritanopia (blue-blind)
#AF4872
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac2fb8;
/* rgb */ color: rgb(172, 47, 184);
/* oklch */ color: oklch(55.1% 0.220 324.1);
Tailwind
colors: {
  custom: {
    50: '#c975ce',
    500: '#ac2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #ac2fb8;
$custom-light: #c975ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2fb8",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 294.745,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55149,
    "c": 0.22031,
    "h": 324.1
  },
  "luminance": 0.14264
}

Semantic roles & 50–950 ramp

primary
#AC2FB8
secondary
#81C87B
accent
#E24553
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AC2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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