#AC2EB2#AC2EB2

#AC2EB2 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.217 H 326.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AC2EB2
RGBrgb(172, 46, 178)
HSLhsl(297, 59%, 44%)
HSVhsv(297, 74%, 70%)
CMYKcmyk(3.4%, 74.2%, 0%, 30.2%)
CIE-LABlab(44.15, 65.42, -43.52)
CIE-LCHlch(44.15, 78.58, 326.37°)
OKLaboklab(54.71% 0.1796 -0.121)
OKLCHoklch(54.71% 0.217 326)
XYZxyz(26.0256, 13.9408, 43.4309)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2EB2 #34B22E
analogous
#6A2EB2 #AC2EB2 #B22E76
triadic
#AC2EB2 #B2AC2E #2EB2AC
tetradic
#AC2EB2 #B26A2E #34B22E #2E76B2
square
#AC2EB2 #B26A2E #34B22E #2E76B2
split-complementary
#AC2EB2 #76B22E #2EB26A
monochromatic
#4E1551 #7D2181 #AC2EB2 #CB4CD1 #D97DDD

Accessibility & contrast

On white

5.54
#AC2EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AC2EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2EB2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2EB2#FFFFFF#000000##FFFFFF
##AC2EB21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015EB6
Deuteranopia (green-blind)
#4D6EAF
Tritanopia (blue-blind)
#B0456E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac2eb2;
/* rgb */ color: rgb(172, 46, 178);
/* oklch */ color: oklch(54.7% 0.217 326.0);
Tailwind
colors: {
  custom: {
    50: '#c974c9',
    500: '#ac2eb2',
    950: '#000000',
  },
}
SCSS
$custom: #ac2eb2;
$custom-light: #c974c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2eb2",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 297.273,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54705,
    "c": 0.21659,
    "h": 326
  },
  "luminance": 0.13939
}

Semantic roles & 50–950 ramp

primary
#AC2EB2
secondary
#79C676
accent
#E2464D
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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