#AC51CE#AC51CE

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

Color values

HEX#AC51CE
RGBrgb(172, 81, 206)
HSLhsl(284, 56%, 56%)
HSVhsv(284, 61%, 81%)
CMYKcmyk(16.5%, 60.7%, 0%, 19.2%)
CIE-LABlab(50.82, 56.51, -49.16)
CIE-LCHlch(50.82, 74.90, 318.98°)
OKLaboklab(60.02% 0.1413 -0.1377)
OKLCHoklch(60.02% 0.197 315.7)
XYZxyz(31.0945, 19.1128, 60.4317)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC51CE #73CE51
analogous
#6E51CE #AC51CE #CE51B2
triadic
#AC51CE #CEAC51 #51CEAC
tetradic
#AC51CE #CE6E51 #73CE51 #51B2CE
square
#AC51CE #CE6E51 #73CE51 #51B2CE
split-complementary
#AC51CE #B2CE51 #51CE6E
monochromatic
#672480 #8E32B0 #AC51CE #C381DB #DAB1E9

Accessibility & contrast

On white

4.35
#AC51CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#AC51CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC51CE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC51CE#FFFFFF#000000##000000
##AC51CE1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac51ce;
/* rgb */ color: rgb(172, 81, 206);
/* oklch */ color: oklch(60.0% 0.197 315.7);
Tailwind
colors: {
  custom: {
    50: '#c887dd',
    500: '#ac51ce',
    950: '#000000',
  },
}
SCSS
$custom: #ac51ce;
$custom-light: #c887dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac51ce",
  "rgb": {
    "r": 172,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 283.68,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60025,
    "c": 0.19728,
    "h": 315.7
  },
  "luminance": 0.19112
}

Semantic roles & 50–950 ramp

primary
#AC51CE
secondary
#B2D7A4
accent
#DF4871
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC51CE

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

Preview Lab → · Contrast checker → · Palette generator →

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