#AC4BA2#AC4BA2

#AC4BA2 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 56.9% C 0.165 H 331.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AC4BA2
RGBrgb(172, 75, 162)
HSLhsl(306, 39%, 48%)
HSVhsv(306, 56%, 67%)
CMYKcmyk(0%, 56.4%, 5.8%, 32.5%)
CIE-LABlab(47.51, 51.03, -28.76)
CIE-LCHlch(47.51, 58.57, 330.60°)
OKLaboklab(56.88% 0.1455 -0.0786)
OKLCHoklch(56.88% 0.165 331.6)
XYZxyz(26.0508, 16.4132, 35.9714)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4BA2 #4BAC55
analogous
#854BAC #AC4BA2 #AC4B71
triadic
#AC4BA2 #A2AC4B #4BA2AC
tetradic
#AC4BA2 #AC854B #4BAC55 #4B71AC
square
#AC4BA2 #AC854B #4BAC55 #4B71AC
split-complementary
#AC4BA2 #71AC4B #4BAC85
monochromatic
#572652 #81387A #AC4BA2 #C272BA #D49DCF

Accessibility & contrast

On white

4.90
#AC4BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AC4BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4BA2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4BA2#FFFFFF#000000##FFFFFF
##AC4BA21.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4768A5
Deuteranopia (green-blind)
#65769F
Tritanopia (blue-blind)
#B2536F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ac4ba2;
/* rgb */ color: rgb(172, 75, 162);
/* oklch */ color: oklch(56.9% 0.165 331.6);
Tailwind
colors: {
  custom: {
    50: '#c782be',
    500: '#ac4ba2',
    950: '#000000',
  },
}
SCSS
$custom: #ac4ba2;
$custom-light: #c782be;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4ba2",
  "rgb": {
    "r": 172,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 306.186,
    "s": 39.271,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56875,
    "c": 0.16538,
    "h": 331.6
  },
  "luminance": 0.16411
}

Semantic roles & 50–950 ramp

primary
#AC4BA2
secondary
#92C197
accent
#CF6559
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AC4BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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