#AC5CBB#AC5CBB

#AC5CBB is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.5% C 0.161 H 321.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AC5CBB
RGBrgb(172, 92, 187)
HSLhsl(291, 41%, 55%)
HSVhsv(291, 51%, 73%)
CMYKcmyk(8%, 50.8%, 0%, 26.7%)
CIE-LABlab(51.85, 47.24, -36.59)
CIE-LCHlch(51.85, 59.75, 322.24°)
OKLaboklab(60.46% 0.1255 -0.1012)
OKLCHoklch(60.46% 0.161 321.1)
XYZxyz(29.8090, 20.0141, 49.2970)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CBB #6BBB5C
analogous
#7C5CBB #AC5CBB #BB5C9B
triadic
#AC5CBB #BBAC5C #5CBBAC
tetradic
#AC5CBB #BB7C5C #6BBB5C #5C9BBB
square
#AC5CBB #BB7C5C #6BBB5C #5C9BBB
split-complementary
#AC5CBB #9BBB5C #5CBB7C
monochromatic
#642E6F #8C409A #AC5CBB #C287CD #D8B2DF

Accessibility & contrast

On white

4.20
#AC5CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AC5CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5CBB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5CBB#FFFFFF#000000##000000
##AC5CBB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BE
Deuteranopia (green-blind)
#657FB8
Tritanopia (blue-blind)
#AE6983
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ac5cbb;
/* rgb */ color: rgb(172, 92, 187);
/* oklch */ color: oklch(60.5% 0.161 321.1);
Tailwind
colors: {
  custom: {
    50: '#c78dd0',
    500: '#ac5cbb',
    950: '#000000',
  },
}
SCSS
$custom: #ac5cbb;
$custom-light: #c78dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5cbb",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 290.526,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60459,
    "c": 0.16124,
    "h": 321.1
  },
  "luminance": 0.20013
}

Semantic roles & 50–950 ramp

primary
#AC5CBB
secondary
#ACCDA5
accent
#D1576A
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AC5CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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