#AC71BD#AC71BD

#AC71BD is a light, vivid purple. Relative luminance 0.243; OKLCH L 63.8% C 0.127 H 318.5°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AC71BD
RGBrgb(172, 113, 189)
HSLhsl(287, 37%, 59%)
HSVhsv(287, 40%, 74%)
CMYKcmyk(9%, 40.2%, 0%, 25.9%)
CIE-LABlab(56.34, 36.38, -30.72)
CIE-LCHlch(56.34, 47.62, 319.82°)
OKLaboklab(63.84% 0.0954 -0.0845)
OKLCHoklch(63.84% 0.127 318.5)
XYZxyz(32.1024, 24.2560, 51.1250)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71BD #82BD71
analogous
#8671BD #AC71BD #BD71A8
triadic
#AC71BD #BDAC71 #71BDAC
tetradic
#AC71BD #BD8671 #82BD71 #71A8BD
square
#AC71BD #BD8671 #82BD71 #71A8BD
split-complementary
#AC71BD #A8BD71 #71BD86
monochromatic
#6C397B #914CA4 #AC71BD #C49BD0 #DDC5E4

Accessibility & contrast

On white

3.59
#AC71BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#AC71BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71BD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71BD#FFFFFF#000000##000000
##AC71BD1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683C0
Deuteranopia (green-blind)
#7589BB
Tritanopia (blue-blind)
#AC7B8E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ac71bd;
/* rgb */ color: rgb(172, 113, 189);
/* oklch */ color: oklch(63.8% 0.127 318.5);
Tailwind
colors: {
  custom: {
    50: '#c69bd1',
    500: '#ac71bd',
    950: '#000000',
  },
}
SCSS
$custom: #ac71bd;
$custom-light: #c69bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71bd",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 286.579,
    "s": 36.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63837,
    "c": 0.12742,
    "h": 318.5
  },
  "luminance": 0.24255
}

Semantic roles & 50–950 ramp

primary
#AC71BD
secondary
#BDD4B6
accent
#CD5B75
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AC71BD

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

Preview Lab → · Contrast checker → · Palette generator →

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