#AC4CD7#AC4CD7

#AC4CD7 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.0% C 0.213 H 313.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AC4CD7
RGBrgb(172, 76, 215)
HSLhsl(281, 63%, 57%)
HSVhsv(281, 65%, 84%)
CMYKcmyk(20%, 64.7%, 0%, 15.7%)
CIE-LABlab(50.51, 60.66, -54.80)
CIE-LCHlch(50.51, 81.75, 317.91°)
OKLaboklab(59.97% 0.147 -0.1542)
OKLCHoklch(59.97% 0.213 313.6)
XYZxyz(31.8613, 18.8468, 66.2362)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4CD7 #77D74C
analogous
#674CD7 #AC4CD7 #D74CBC
triadic
#AC4CD7 #D7AC4C #4CD7AC
tetradic
#AC4CD7 #D7674C #77D74C #4CBCD7
square
#AC4CD7 #D7674C #77D74C #4CBCD7
split-complementary
#AC4CD7 #BCD74C #4CD767
monochromatic
#691F8A #8F2ABC #AC4CD7 #C37EE2 #DAB0ED

Accessibility & contrast

On white

4.40
#AC4CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#AC4CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4CD7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4CD7#FFFFFF#000000##000000
##AC4CD71.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DB
Deuteranopia (green-blind)
#457BD4
Tritanopia (blue-blind)
#A8678B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ac4cd7;
/* rgb */ color: rgb(172, 76, 215);
/* oklch */ color: oklch(60.0% 0.213 313.6);
Tailwind
colors: {
  custom: {
    50: '#c884e4',
    500: '#ac4cd7',
    950: '#000000',
  },
}
SCSS
$custom: #ac4cd7;
$custom-light: #c884e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4cd7",
  "rgb": {
    "r": 172,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 281.439,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59969,
    "c": 0.21303,
    "h": 313.6
  },
  "luminance": 0.18846
}

Semantic roles & 50–950 ramp

primary
#AC4CD7
secondary
#B5DCA3
accent
#E64174
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC4CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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