#AC54DF#AC54DF

#AC54DF is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.4% C 0.210 H 310.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AC54DF
RGBrgb(172, 84, 223)
HSLhsl(278, 68%, 60%)
HSVhsv(278, 62%, 87%)
CMYKcmyk(22.9%, 62.3%, 0%, 12.5%)
CIE-LABlab(52.33, 58.66, -56.41)
CIE-LCHlch(52.33, 81.38, 316.12°)
OKLaboklab(61.44% 0.1375 -0.1589)
OKLCHoklch(61.44% 0.21 310.9)
XYZxyz(33.5004, 20.4398, 71.9782)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54DF #87DF54
analogous
#6754DF #AC54DF #DF54CC
triadic
#AC54DF #DFAC54 #54DFAC
tetradic
#AC54DF #DF6754 #87DF54 #54CCDF
square
#AC54DF #DF6754 #87DF54 #54CCDF
split-complementary
#AC54DF #CCDF54 #54DF67
monochromatic
#6D1D9C #9127CF #AC54DF #C588E9 #DEBBF2

Accessibility & contrast

On white

4.13
#AC54DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#AC54DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54DF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54DF#FFFFFF#000000##000000
##AC54DF1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F79E3
Deuteranopia (green-blind)
#457EDC
Tritanopia (blue-blind)
#A66F92
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ac54df;
/* rgb */ color: rgb(172, 84, 223);
/* oklch */ color: oklch(61.4% 0.210 310.9);
Tailwind
colors: {
  custom: {
    50: '#c889ea',
    500: '#ac54df',
    950: '#000000',
  },
}
SCSS
$custom: #ac54df;
$custom-light: #c889ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54df",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 277.986,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6144,
    "c": 0.21018,
    "h": 310.9
  },
  "luminance": 0.20439
}

Semantic roles & 50–950 ramp

primary
#AC54DF
secondary
#C0E2AD
accent
#D0155A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC54DF

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

Preview Lab → · Contrast checker → · Palette generator →

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