#AC5ABC#AC5ABC

#AC5ABC is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.2% C 0.166 H 320.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AC5ABC
RGBrgb(172, 90, 188)
HSLhsl(290, 42%, 55%)
HSVhsv(290, 52%, 74%)
CMYKcmyk(8.5%, 52.1%, 0%, 26.3%)
CIE-LABlab(51.51, 48.46, -37.70)
CIE-LCHlch(51.51, 61.40, 322.12°)
OKLaboklab(60.22% 0.1284 -0.1044)
OKLCHoklch(60.22% 0.166 320.9)
XYZxyz(29.7455, 19.7151, 49.8058)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5ABC #6ABC5A
analogous
#7B5ABC #AC5ABC #BC5A9B
triadic
#AC5ABC #BCAC5A #5ABCAC
tetradic
#AC5ABC #BC7B5A #6ABC5A #5A9BBC
square
#AC5ABC #BC7B5A #6ABC5A #5A9BBC
split-complementary
#AC5ABC #9BBC5A #5ABC7B
monochromatic
#642D6F #8B3F9A #AC5ABC #C286CE #D8B1DF

Accessibility & contrast

On white

4.25
#AC5ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AC5ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5ABC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5ABC#FFFFFF#000000##000000
##AC5ABC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac5abc;
/* rgb */ color: rgb(172, 90, 188);
/* oklch */ color: oklch(60.2% 0.166 320.9);
Tailwind
colors: {
  custom: {
    50: '#c78cd0',
    500: '#ac5abc',
    950: '#000000',
  },
}
SCSS
$custom: #ac5abc;
$custom-light: #c78cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5abc",
  "rgb": {
    "r": 172,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 290.204,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60224,
    "c": 0.16551,
    "h": 320.9
  },
  "luminance": 0.19714
}

Semantic roles & 50–950 ramp

primary
#AC5ABC
secondary
#ABCEA4
accent
#D2566A
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AC5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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