#AC51BC#AC51BC

#AC51BC is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.0% C 0.180 H 321.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AC51BC
RGBrgb(172, 81, 188)
HSLhsl(291, 44%, 53%)
HSVhsv(291, 57%, 74%)
CMYKcmyk(8.5%, 56.9%, 0%, 26.3%)
CIE-LABlab(49.84, 52.92, -40.33)
CIE-LCHlch(49.84, 66.54, 322.69°)
OKLaboklab(59% 0.1405 -0.112)
OKLCHoklch(59% 0.18 321.4)
XYZxyz(29.0318, 18.2877, 49.5679)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC51BC #61BC51
analogous
#7651BC #AC51BC #BC5196
triadic
#AC51BC #BCAC51 #51BCAC
tetradic
#AC51BC #BC7651 #61BC51 #5196BC
square
#AC51BC #BC7651 #61BC51 #5196BC
split-complementary
#AC51BC #96BC51 #51BC76
monochromatic
#60296A #883A96 #AC51BC #C17DCD #D6A9DE

Accessibility & contrast

On white

4.51
#AC51BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#AC51BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC51BC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC51BC#FFFFFF#000000##000000
##AC51BC1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D70BF
Deuteranopia (green-blind)
#5C7AB9
Tritanopia (blue-blind)
#AE617F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ac51bc;
/* rgb */ color: rgb(172, 81, 188);
/* oklch */ color: oklch(59.0% 0.180 321.4);
Tailwind
colors: {
  custom: {
    50: '#c786d0',
    500: '#ac51bc',
    950: '#000000',
  },
}
SCSS
$custom: #ac51bc;
$custom-light: #c786d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac51bc",
  "rgb": {
    "r": 172,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 291.028,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58998,
    "c": 0.17968,
    "h": 321.4
  },
  "luminance": 0.18286
}

Semantic roles & 50–950 ramp

primary
#AC51BC
secondary
#A4CC9D
accent
#D45467
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AC51BC

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

Preview Lab → · Contrast checker → · Palette generator →

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