#AC5ABD#AC5ABD

#AC5ABD is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.3% C 0.167 H 320.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AC5ABD
RGBrgb(172, 90, 189)
HSLhsl(290, 43%, 55%)
HSVhsv(290, 52%, 74%)
CMYKcmyk(9%, 52.4%, 0%, 25.9%)
CIE-LABlab(51.56, 48.66, -38.20)
CIE-LCHlch(51.56, 61.86, 321.87°)
OKLaboklab(60.28% 0.1285 -0.1059)
OKLCHoklch(60.28% 0.167 320.5)
XYZxyz(29.8536, 19.7584, 50.3754)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5ABD #6BBD5A
analogous
#7B5ABD #AC5ABD #BD5A9D
triadic
#AC5ABD #BDAC5A #5ABDAC
tetradic
#AC5ABD #BD7B5A #6BBD5A #5A9DBD
square
#AC5ABD #BD7B5A #6BBD5A #5A9DBD
split-complementary
#AC5ABD #9DBD5A #5ABD7B
monochromatic
#642D70 #8C3E9C #AC5ABD #C286CE #D8B1E0

Accessibility & contrast

On white

4.24
#AC5ABD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#AC5ABD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5ABD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5ABD#FFFFFF#000000##000000
##AC5ABD1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4975C0
Deuteranopia (green-blind)
#637EBA
Tritanopia (blue-blind)
#AD6883
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac5abd;
/* rgb */ color: rgb(172, 90, 189);
/* oklch */ color: oklch(60.3% 0.167 320.5);
Tailwind
colors: {
  custom: {
    50: '#c78cd1',
    500: '#ac5abd',
    950: '#000000',
  },
}
SCSS
$custom: #ac5abd;
$custom-light: #c78cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5abd",
  "rgb": {
    "r": 172,
    "g": 90,
    "b": 189
  },
  "hsl": {
    "h": 289.697,
    "s": 42.857,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60277,
    "c": 0.16652,
    "h": 320.5
  },
  "luminance": 0.19757
}

Semantic roles & 50–950 ramp

primary
#AC5ABD
secondary
#ACCEA5
accent
#D3556B
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AC5ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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