#AC5BA2#AC5BA2

#AC5BA2 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.1% C 0.139 H 331.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AC5BA2
RGBrgb(172, 91, 162)
HSLhsl(307, 33%, 52%)
HSVhsv(307, 47%, 67%)
CMYKcmyk(0%, 47.1%, 5.8%, 32.5%)
CIE-LABlab(50.53, 43.05, -24.08)
CIE-LCHlch(50.53, 49.32, 330.78°)
OKLaboklab(59.11% 0.1226 -0.0654)
OKLCHoklch(59.11% 0.139 331.9)
XYZxyz(27.2757, 18.8631, 36.3797)
Luminance0.1886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5BA2 #5BAC65
analogous
#8E5BAC #AC5BA2 #AC5B7A
triadic
#AC5BA2 #A2AC5B #5BA2AC
tetradic
#AC5BA2 #AC8E5B #5BAC65 #5B7AAC
square
#AC5BA2 #AC8E5B #5BAC65 #5B7AAC
split-complementary
#AC5BA2 #7AAC5B #5BAC8E
monochromatic
#5D2F58 #86447E #AC5BA2 #C184B9 #D5ACD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC5BA2#FFFFFF#000000##000000
##AC5BA21.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)
#5971A4
Deuteranopia (green-blind)
#6F7CA0
Tritanopia (blue-blind)
#B26177
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ac5ba2;
/* rgb */ color: rgb(172, 91, 162);
/* oklch */ color: oklch(59.1% 0.139 331.9);
Tailwind
colors: {
  custom: {
    50: '#c68cbd',
    500: '#ac5ba2',
    950: '#000000',
  },
}
SCSS
$custom: #ac5ba2;
$custom-light: #c68cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5ba2",
  "rgb": {
    "r": 172,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 307.407,
    "s": 32.794,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59106,
    "c": 0.13895,
    "h": 331.9
  },
  "luminance": 0.18861
}

Semantic roles & 50–950 ramp

primary
#AC5BA2
secondary
#A0C3A4
accent
#C96C5F
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AC5BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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