#AC51DA#AC51DA

#AC51DA is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.8% C 0.209 H 312.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AC51DA
RGBrgb(172, 81, 218)
HSLhsl(280, 65%, 59%)
HSVhsv(280, 63%, 85%)
CMYKcmyk(21.1%, 62.8%, 0%, 14.5%)
CIE-LABlab(51.52, 59.00, -54.88)
CIE-LCHlch(51.52, 80.58, 317.07°)
OKLaboklab(60.76% 0.1412 -0.1544)
OKLCHoklch(60.76% 0.209 312.4)
XYZxyz(32.6083, 19.7183, 68.4044)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC51DA #7FDA51
analogous
#6751DA #AC51DA #DA51C3
triadic
#AC51DA #DAAC51 #51DAAC
tetradic
#AC51DA #DA6751 #7FDA51 #51C3DA
square
#AC51DA #DA6751 #7FDA51 #51C3DA
split-complementary
#AC51DA #C3DA51 #51DA67
monochromatic
#6B1F92 #902AC4 #AC51DA #C483E5 #DCB6EF

Accessibility & contrast

On white

4.25
#AC51DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AC51DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC51DA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC51DA#FFFFFF#000000##000000
##AC51DA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1176DE
Deuteranopia (green-blind)
#477DD7
Tritanopia (blue-blind)
#A76B8E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac51da;
/* rgb */ color: rgb(172, 81, 218);
/* oklch */ color: oklch(60.8% 0.209 312.4);
Tailwind
colors: {
  custom: {
    50: '#c887e6',
    500: '#ac51da',
    950: '#000000',
  },
}
SCSS
$custom: #ac51da;
$custom-light: #c887e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac51da",
  "rgb": {
    "r": 172,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 279.854,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60755,
    "c": 0.20925,
    "h": 312.4
  },
  "luminance": 0.19717
}

Semantic roles & 50–950 ramp

primary
#AC51DA
secondary
#BBDEA8
accent
#E84078
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC51DA

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

Preview Lab → · Contrast checker → · Palette generator →

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