#AC51D7#AC51D7

#AC51D7 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.6% C 0.206 H 313.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AC51D7
RGBrgb(172, 81, 215)
HSLhsl(281, 63%, 58%)
HSVhsv(281, 62%, 84%)
CMYKcmyk(20%, 62.3%, 0%, 15.7%)
CIE-LABlab(51.34, 58.37, -53.46)
CIE-LCHlch(51.34, 79.16, 317.51°)
OKLaboklab(60.57% 0.1412 -0.1503)
OKLCHoklch(60.57% 0.206 313.2)
XYZxyz(32.2193, 19.5627, 66.3555)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC51D7 #7CD751
analogous
#6951D7 #AC51D7 #D751BF
triadic
#AC51D7 #D7AC51 #51D7AC
tetradic
#AC51D7 #D76951 #7CD751 #51BFD7
square
#AC51D7 #D76951 #7CD751 #51BFD7
split-complementary
#AC51D7 #BFD751 #51D769
monochromatic
#6A208D #902CBF #AC51D7 #C483E2 #DBB5EE

Accessibility & contrast

On white

4.27
#AC51D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#AC51D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC51D7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC51D7#FFFFFF#000000##000000
##AC51D71.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A75DB
Deuteranopia (green-blind)
#497CD4
Tritanopia (blue-blind)
#A86A8D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac51d7;
/* rgb */ color: rgb(172, 81, 215);
/* oklch */ color: oklch(60.6% 0.206 313.2);
Tailwind
colors: {
  custom: {
    50: '#c887e4',
    500: '#ac51d7',
    950: '#000000',
  },
}
SCSS
$custom: #ac51d7;
$custom-light: #c887e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac51d7",
  "rgb": {
    "r": 172,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 280.746,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60569,
    "c": 0.20624,
    "h": 313.2
  },
  "luminance": 0.19562
}

Semantic roles & 50–950 ramp

primary
#AC51D7
secondary
#B8DDA7
accent
#E64277
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AC51D7

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

Preview Lab → · Contrast checker → · Palette generator →

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