#AC51CD#AC51CD

#AC51CD is a mid, vivid purple. Relative luminance 0.191; OKLCH L 60.0% C 0.196 H 316.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AC51CD
RGBrgb(172, 81, 205)
HSLhsl(284, 55%, 56%)
HSVhsv(284, 60%, 80%)
CMYKcmyk(16.1%, 60.5%, 0%, 19.6%)
CIE-LABlab(50.76, 56.31, -48.67)
CIE-LCHlch(50.76, 74.43, 319.16°)
OKLaboklab(59.97% 0.1413 -0.1363)
OKLCHoklch(59.97% 0.196 316)
XYZxyz(30.9734, 19.0644, 59.7940)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC51CD #72CD51
analogous
#6E51CD #AC51CD #CD51B0
triadic
#AC51CD #CDAC51 #51CDAC
tetradic
#AC51CD #CD6E51 #72CD51 #51B0CD
square
#AC51CD #CD6E51 #72CD51 #51B0CD
split-complementary
#AC51CD #B0CD51 #51CD6E
monochromatic
#67257F #8E32AF #AC51CD #C381DB #D9B0E8

Accessibility & contrast

On white

4.36
#AC51CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#AC51CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC51CD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC51CD#FFFFFF#000000##000000
##AC51CD1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B73D1
Deuteranopia (green-blind)
#517CCA
Tritanopia (blue-blind)
#AA6788
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ac51cd;
/* rgb */ color: rgb(172, 81, 205);
/* oklch */ color: oklch(60.0% 0.196 316.0);
Tailwind
colors: {
  custom: {
    50: '#c887dd',
    500: '#ac51cd',
    950: '#000000',
  },
}
SCSS
$custom: #ac51cd;
$custom-light: #c887dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac51cd",
  "rgb": {
    "r": 172,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 284.032,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59965,
    "c": 0.19629,
    "h": 316
  },
  "luminance": 0.19063
}

Semantic roles & 50–950 ramp

primary
#AC51CD
secondary
#B1D7A3
accent
#DF4971
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC51CD

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

Preview Lab → · Contrast checker → · Palette generator →

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