#AC2EB5#AC2EB5

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

Color values

HEX#AC2EB5
RGBrgb(172, 46, 181)
HSLhsl(296, 59%, 45%)
HSVhsv(296, 75%, 71%)
CMYKcmyk(5%, 74.6%, 0%, 29%)
CIE-LABlab(44.32, 65.93, -45.01)
CIE-LCHlch(44.32, 79.83, 325.68°)
OKLaboklab(54.89% 0.1795 -0.1253)
OKLCHoklch(54.89% 0.219 325.1)
XYZxyz(26.3301, 14.0626, 45.0346)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2EB5 #37B52E
analogous
#692EB5 #AC2EB5 #B52E7B
triadic
#AC2EB5 #B5AC2E #2EB5AC
tetradic
#AC2EB5 #B5692E #37B52E #2E7BB5
square
#AC2EB5 #B5692E #37B52E #2E7BB5
split-complementary
#AC2EB5 #7BB52E #2EB569
monochromatic
#4F1553 #7E2284 #AC2EB5 #C94ED2 #D87FDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC2EB5#FFFFFF#000000##FFFFFF
##AC2EB51.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)
#005FB9
Deuteranopia (green-blind)
#4B6EB2
Tritanopia (blue-blind)
#B04670
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac2eb5;
/* rgb */ color: rgb(172, 46, 181);
/* oklch */ color: oklch(54.9% 0.219 325.1);
Tailwind
colors: {
  custom: {
    50: '#c974cc',
    500: '#ac2eb5',
    950: '#000000',
  },
}
SCSS
$custom: #ac2eb5;
$custom-light: #c974cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2eb5",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 296,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54886,
    "c": 0.21895,
    "h": 325.1
  },
  "luminance": 0.14061
}

Semantic roles & 50–950 ramp

primary
#AC2EB5
secondary
#7DC778
accent
#E34550
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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