#AC4EB2#AC4EB2

#AC4EB2 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.1% C 0.175 H 325.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AC4EB2
RGBrgb(172, 78, 178)
HSLhsl(296, 39%, 50%)
HSVhsv(296, 56%, 70%)
CMYKcmyk(3.4%, 56.2%, 0%, 30.2%)
CIE-LABlab(48.80, 52.46, -36.15)
CIE-LCHlch(48.80, 63.71, 325.43°)
OKLaboklab(58.07% 0.1436 -0.0998)
OKLCHoklch(58.07% 0.175 325.2)
XYZxyz(27.7729, 17.4353, 44.0133)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4EB2 #54B24E
analogous
#7A4EB2 #AC4EB2 #B24E86
triadic
#AC4EB2 #B2AC4E #4EB2AC
tetradic
#AC4EB2 #B27A4E #54B24E #4E86B2
square
#AC4EB2 #B27A4E #54B24E #4E86B2
split-complementary
#AC4EB2 #86B24E #4EB27A
monochromatic
#5A295D #833B88 #AC4EB2 #C079C5 #D4A3D7

Accessibility & contrast

On white

4.68
#AC4EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AC4EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4EB2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4EB2#FFFFFF#000000##FFFFFF
##AC4EB21.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406CB5
Deuteranopia (green-blind)
#5F78AF
Tritanopia (blue-blind)
#B05B79
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ac4eb2;
/* rgb */ color: rgb(172, 78, 178);
/* oklch */ color: oklch(58.1% 0.175 325.2);
Tailwind
colors: {
  custom: {
    50: '#c784c9',
    500: '#ac4eb2',
    950: '#000000',
  },
}
SCSS
$custom: #ac4eb2;
$custom-light: #c784c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4eb2",
  "rgb": {
    "r": 172,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 296.4,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58072,
    "c": 0.17487,
    "h": 325.2
  },
  "luminance": 0.17434
}

Semantic roles & 50–950 ramp

primary
#AC4EB2
secondary
#9AC498
accent
#CF5960
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC4EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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