#AC51CC#AC51CC

#AC51CC is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.9% C 0.195 H 316.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AC51CC
RGBrgb(172, 81, 204)
HSLhsl(284, 55%, 56%)
HSVhsv(284, 60%, 80%)
CMYKcmyk(15.7%, 60.3%, 0%, 20%)
CIE-LABlab(50.71, 56.10, -48.19)
CIE-LCHlch(50.71, 73.96, 319.34°)
OKLaboklab(59.91% 0.1413 -0.1349)
OKLCHoklch(59.91% 0.195 316.3)
XYZxyz(30.8531, 19.0163, 59.1603)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC51CC #71CC51
analogous
#6E51CC #AC51CC #CC51AF
triadic
#AC51CC #CCAC51 #51CCAC
tetradic
#AC51CC #CC6E51 #71CC51 #51AFCC
square
#AC51CC #CC6E51 #71CC51 #51AFCC
split-complementary
#AC51CC #AFCC51 #51CC6E
monochromatic
#67257E #8D33AD #AC51CC #C380DA #D9B0E8

Accessibility & contrast

On white

4.37
#AC51CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#AC51CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC51CC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC51CC#FFFFFF#000000##000000
##AC51CC1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D73D0
Deuteranopia (green-blind)
#527BC9
Tritanopia (blue-blind)
#AA6687
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ac51cc;
/* rgb */ color: rgb(172, 81, 204);
/* oklch */ color: oklch(59.9% 0.195 316.3);
Tailwind
colors: {
  custom: {
    50: '#c887dc',
    500: '#ac51cc',
    950: '#000000',
  },
}
SCSS
$custom: #ac51cc;
$custom-light: #c887dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac51cc",
  "rgb": {
    "r": 172,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 284.39,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59906,
    "c": 0.1953,
    "h": 316.3
  },
  "luminance": 0.19015
}

Semantic roles & 50–950 ramp

primary
#AC51CC
secondary
#B0D6A3
accent
#DE4A70
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC51CC

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

Preview Lab → · Contrast checker → · Palette generator →

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