#AC51BF#AC51BF

#AC51BF is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.2% C 0.183 H 320.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AC51BF
RGBrgb(172, 81, 191)
HSLhsl(290, 46%, 53%)
HSVhsv(290, 58%, 75%)
CMYKcmyk(9.9%, 57.6%, 0%, 25.1%)
CIE-LABlab(50.00, 53.51, -41.82)
CIE-LCHlch(50.00, 67.91, 321.99°)
OKLaboklab(59.16% 0.1407 -0.1163)
OKLCHoklch(59.16% 0.183 320.4)
XYZxyz(29.3585, 18.4184, 51.2888)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC51BF #64BF51
analogous
#7551BF #AC51BF #BF519B
triadic
#AC51BF #BFAC51 #51BFAC
tetradic
#AC51BF #BF7551 #64BF51 #519BBF
square
#AC51BF #BF7551 #64BF51 #519BBF
split-complementary
#AC51BF #9BBF51 #51BF75
monochromatic
#61286D #89399A #AC51BF #C17ECF #D7AAE0

Accessibility & contrast

On white

4.48
#AC51BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#AC51BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC51BF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC51BF#FFFFFF#000000##000000
##AC51BF1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A71C2
Deuteranopia (green-blind)
#5B7ABC
Tritanopia (blue-blind)
#AD6280
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ac51bf;
/* rgb */ color: rgb(172, 81, 191);
/* oklch */ color: oklch(59.2% 0.183 320.4);
Tailwind
colors: {
  custom: {
    50: '#c786d3',
    500: '#ac51bf',
    950: '#000000',
  },
}
SCSS
$custom: #ac51bf;
$custom-light: #c786d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac51bf",
  "rgb": {
    "r": 172,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 289.636,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59163,
    "c": 0.18257,
    "h": 320.4
  },
  "luminance": 0.18417
}

Semantic roles & 50–950 ramp

primary
#AC51BF
secondary
#A6CE9E
accent
#D65269
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AC51BF

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

Preview Lab → · Contrast checker → · Palette generator →

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