#AC2EB6#AC2EB6

#AC2EB6 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.220 H 324.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AC2EB6
RGBrgb(172, 46, 182)
HSLhsl(296, 60%, 45%)
HSVhsv(296, 75%, 71%)
CMYKcmyk(5.5%, 74.7%, 0%, 28.6%)
CIE-LABlab(44.38, 66.10, -45.50)
CIE-LCHlch(44.38, 80.25, 325.46°)
OKLaboklab(54.95% 0.1795 -0.1268)
OKLCHoklch(54.95% 0.22 324.8)
XYZxyz(26.4331, 14.1038, 45.5769)
Luminance0.1410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2EB6 #38B62E
analogous
#682EB6 #AC2EB6 #B62E7C
triadic
#AC2EB6 #B6AC2E #2EB6AC
tetradic
#AC2EB6 #B6682E #38B62E #2E7CB6
square
#AC2EB6 #B6682E #38B62E #2E7CB6
split-complementary
#AC2EB6 #7CB62E #2EB668
monochromatic
#501554 #7E2285 #AC2EB6 #C94FD2 #D880DF

Accessibility & contrast

On white

5.50
#AC2EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AC2EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2EB6
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2EB6#FFFFFF#000000##FFFFFF
##AC2EB61.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBA
Deuteranopia (green-blind)
#4A6EB3
Tritanopia (blue-blind)
#B04770
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac2eb6;
/* rgb */ color: rgb(172, 46, 182);
/* oklch */ color: oklch(54.9% 0.220 324.8);
Tailwind
colors: {
  custom: {
    50: '#c974cc',
    500: '#ac2eb6',
    950: '#000000',
  },
}
SCSS
$custom: #ac2eb6;
$custom-light: #c974cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2eb6",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 295.588,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54946,
    "c": 0.21973,
    "h": 324.8
  },
  "luminance": 0.14102
}

Semantic roles & 50–950 ramp

primary
#AC2EB6
secondary
#7EC878
accent
#E34551
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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