#AC2EB8#AC2EB8

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

Color values

HEX#AC2EB8
RGBrgb(172, 46, 184)
HSLhsl(295, 60%, 45%)
HSVhsv(295, 75%, 72%)
CMYKcmyk(6.5%, 75%, 0%, 27.8%)
CIE-LABlab(44.50, 66.45, -46.49)
CIE-LCHlch(44.50, 81.09, 325.02°)
OKLaboklab(55.07% 0.1794 -0.1297)
OKLCHoklch(55.07% 0.221 324.1)
XYZxyz(26.6412, 14.1870, 46.6732)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2EB8 #3AB82E
analogous
#672EB8 #AC2EB8 #B82E7F
triadic
#AC2EB8 #B8AC2E #2EB8AC
tetradic
#AC2EB8 #B8672E #3AB82E #2E7FB8
square
#AC2EB8 #B8672E #3AB82E #2E7FB8
split-complementary
#AC2EB8 #7FB82E #2EB867
monochromatic
#501656 #7E2287 #AC2EB8 #C850D3 #D781DF

Accessibility & contrast

On white

5.47
#AC2EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AC2EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2EB8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2EB8#FFFFFF#000000##FFFFFF
##AC2EB81.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac2eb8;
/* rgb */ color: rgb(172, 46, 184);
/* oklch */ color: oklch(55.1% 0.221 324.1);
Tailwind
colors: {
  custom: {
    50: '#c974ce',
    500: '#ac2eb8',
    950: '#000000',
  },
}
SCSS
$custom: #ac2eb8;
$custom-light: #c974ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2eb8",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 294.783,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55069,
    "c": 0.22133,
    "h": 324.1
  },
  "luminance": 0.14185
}

Semantic roles & 50–950 ramp

primary
#AC2EB8
secondary
#80C879
accent
#E34552
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AC2EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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