#AC51BB#AC51BB

#AC51BB is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.9% C 0.179 H 321.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AC51BB
RGBrgb(172, 81, 187)
HSLhsl(292, 44%, 53%)
HSVhsv(292, 57%, 73%)
CMYKcmyk(8%, 56.7%, 0%, 26.7%)
CIE-LABlab(49.79, 52.73, -39.83)
CIE-LCHlch(49.79, 66.08, 322.93°)
OKLaboklab(58.94% 0.1404 -0.1105)
OKLCHoklch(58.94% 0.179 321.8)
XYZxyz(28.9244, 18.2447, 49.0021)
Luminance0.1824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC51BB #60BB51
analogous
#7751BB #AC51BB #BB5195
triadic
#AC51BB #BBAC51 #51BBAC
tetradic
#AC51BB #BB7751 #60BB51 #5195BB
square
#AC51BB #BB7751 #60BB51 #5195BB
split-complementary
#AC51BB #95BB51 #51BB77
monochromatic
#602969 #883A95 #AC51BB #C17DCC #D6A9DD

Accessibility & contrast

On white

4.52
#AC51BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#AC51BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC51BB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC51BB#FFFFFF#000000##000000
##AC51BB1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BE
Deuteranopia (green-blind)
#5D7AB8
Tritanopia (blue-blind)
#AE607E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ac51bb;
/* rgb */ color: rgb(172, 81, 187);
/* oklch */ color: oklch(58.9% 0.179 321.8);
Tailwind
colors: {
  custom: {
    50: '#c786d0',
    500: '#ac51bb',
    950: '#000000',
  },
}
SCSS
$custom: #ac51bb;
$custom-light: #c786d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac51bb",
  "rgb": {
    "r": 172,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 291.509,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58943,
    "c": 0.17872,
    "h": 321.8
  },
  "luminance": 0.18243
}

Semantic roles & 50–950 ramp

primary
#AC51BB
secondary
#A3CB9D
accent
#D45466
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AC51BB

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

Preview Lab → · Contrast checker → · Palette generator →

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