#AC4FB2#AC4FB2

#AC4FB2 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.2% C 0.173 H 325.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AC4FB2
RGBrgb(172, 79, 178)
HSLhsl(296, 39%, 50%)
HSVhsv(296, 56%, 70%)
CMYKcmyk(3.4%, 55.6%, 0%, 30.2%)
CIE-LABlab(48.98, 51.99, -35.87)
CIE-LCHlch(48.98, 63.16, 325.40°)
OKLaboklab(58.2% 0.1422 -0.099)
OKLCHoklch(58.2% 0.173 325.1)
XYZxyz(27.8445, 17.5785, 44.0372)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4FB2 #55B24F
analogous
#7B4FB2 #AC4FB2 #B24F86
triadic
#AC4FB2 #B2AC4F #4FB2AC
tetradic
#AC4FB2 #B27B4F #55B24F #4F86B2
square
#AC4FB2 #B27B4F #55B24F #4F86B2
split-complementary
#AC4FB2 #86B24F #4FB27B
monochromatic
#5A295E #843C88 #AC4FB2 #C07AC5 #D4A4D7

Accessibility & contrast

On white

4.65
#AC4FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#AC4FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4FB2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4FB2#FFFFFF#000000##FFFFFF
##AC4FB21.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426DB5
Deuteranopia (green-blind)
#6078AF
Tritanopia (blue-blind)
#B05C79
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ac4fb2;
/* rgb */ color: rgb(172, 79, 178);
/* oklch */ color: oklch(58.2% 0.173 325.1);
Tailwind
colors: {
  custom: {
    50: '#c785c9',
    500: '#ac4fb2',
    950: '#000000',
  },
}
SCSS
$custom: #ac4fb2;
$custom-light: #c785c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4fb2",
  "rgb": {
    "r": 172,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 296.364,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58202,
    "c": 0.17332,
    "h": 325.1
  },
  "luminance": 0.17577
}

Semantic roles & 50–950 ramp

primary
#AC4FB2
secondary
#9BC498
accent
#CF5960
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC4FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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