#AC4FA2#AC4FA2

#AC4FA2 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.4% C 0.159 H 331.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AC4FA2
RGBrgb(172, 79, 162)
HSLhsl(306, 37%, 49%)
HSVhsv(306, 54%, 67%)
CMYKcmyk(0%, 54.1%, 5.8%, 32.5%)
CIE-LABlab(48.23, 49.11, -27.64)
CIE-LCHlch(48.23, 56.36, 330.62°)
OKLaboklab(57.4% 0.14 -0.0754)
OKLCHoklch(57.4% 0.159 331.7)
XYZxyz(26.3307, 16.9730, 36.0647)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4FA2 #4FAC59
analogous
#884FAC #AC4FA2 #AC4F74
triadic
#AC4FA2 #A2AC4F #4FA2AC
tetradic
#AC4FA2 #AC884F #4FAC59 #4F74AC
square
#AC4FA2 #AC884F #4FAC59 #4F74AC
split-complementary
#AC4FA2 #74AC4F #4FAC88
monochromatic
#582853 #823C7B #AC4FA2 #C177B9 #D4A1CF

Accessibility & contrast

On white

4.78
#AC4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AC4FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4FA2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4FA2#FFFFFF#000000##FFFFFF
##AC4FA21.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA5
Deuteranopia (green-blind)
#67779F
Tritanopia (blue-blind)
#B25671
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ac4fa2;
/* rgb */ color: rgb(172, 79, 162);
/* oklch */ color: oklch(57.4% 0.159 331.7);
Tailwind
colors: {
  custom: {
    50: '#c785be',
    500: '#ac4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #ac4fa2;
$custom-light: #c785be;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4fa2",
  "rgb": {
    "r": 172,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 306.452,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.574,
    "c": 0.15903,
    "h": 331.7
  },
  "luminance": 0.16971
}

Semantic roles & 50–950 ramp

primary
#AC4FA2
secondary
#96C19A
accent
#CD675B
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AC4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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