#AC4CB2#AC4CB2

#AC4CB2 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.8% C 0.178 H 325.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AC4CB2
RGBrgb(172, 76, 178)
HSLhsl(296, 40%, 50%)
HSVhsv(296, 57%, 70%)
CMYKcmyk(3.4%, 57.3%, 0%, 30.2%)
CIE-LABlab(48.46, 53.41, -36.70)
CIE-LCHlch(48.46, 64.80, 325.51°)
OKLaboklab(57.82% 0.1462 -0.1014)
OKLCHoklch(57.82% 0.178 325.2)
XYZxyz(27.6330, 17.1554, 43.9667)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4CB2 #52B24C
analogous
#794CB2 #AC4CB2 #B24C85
triadic
#AC4CB2 #B2AC4C #4CB2AC
tetradic
#AC4CB2 #B2794C #52B24C #4C85B2
square
#AC4CB2 #B2794C #52B24C #4C85B2
split-complementary
#AC4CB2 #85B24C #4CB279
monochromatic
#59275C #833A87 #AC4CB2 #C076C5 #D4A1D7

Accessibility & contrast

On white

4.74
#AC4CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AC4CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4CB2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4CB2#FFFFFF#000000##FFFFFF
##AC4CB21.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB5
Deuteranopia (green-blind)
#5E77AF
Tritanopia (blue-blind)
#B05978
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ac4cb2;
/* rgb */ color: rgb(172, 76, 178);
/* oklch */ color: oklch(57.8% 0.178 325.2);
Tailwind
colors: {
  custom: {
    50: '#c783c9',
    500: '#ac4cb2',
    950: '#000000',
  },
}
SCSS
$custom: #ac4cb2;
$custom-light: #c783c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4cb2",
  "rgb": {
    "r": 172,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 296.471,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57817,
    "c": 0.17792,
    "h": 325.2
  },
  "luminance": 0.17154
}

Semantic roles & 50–950 ramp

primary
#AC4CB2
secondary
#99C496
accent
#D0585F
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC4CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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