#AC54DA#AC54DA

#AC54DA is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.1% C 0.205 H 312.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AC54DA
RGBrgb(172, 84, 218)
HSLhsl(279, 64%, 59%)
HSVhsv(279, 61%, 85%)
CMYKcmyk(21.1%, 61.5%, 0%, 14.5%)
CIE-LABlab(52.03, 57.59, -54.06)
CIE-LCHlch(52.03, 78.99, 316.81°)
OKLaboklab(61.13% 0.1376 -0.152)
OKLCHoklch(61.13% 0.205 312.2)
XYZxyz(32.8362, 20.1741, 68.4803)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54DA #82DA54
analogous
#6954DA #AC54DA #DA54C5
triadic
#AC54DA #DAAC54 #54DAAC
tetradic
#AC54DA #DA6954 #82DA54 #54C5DA
square
#AC54DA #DA6954 #82DA54 #54C5DA
split-complementary
#AC54DA #C5DA54 #54DA69
monochromatic
#6C2094 #912BC6 #AC54DA #C486E5 #DDB9F0

Accessibility & contrast

On white

4.17
#AC54DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#AC54DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54DA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54DA#FFFFFF#000000##000000
##AC54DA1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D78DE
Deuteranopia (green-blind)
#4A7ED7
Tritanopia (blue-blind)
#A76D8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ac54da;
/* rgb */ color: rgb(172, 84, 218);
/* oklch */ color: oklch(61.1% 0.205 312.2);
Tailwind
colors: {
  custom: {
    50: '#c889e6',
    500: '#ac54da',
    950: '#000000',
  },
}
SCSS
$custom: #ac54da;
$custom-light: #c889e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54da",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 279.403,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61129,
    "c": 0.20509,
    "h": 312.2
  },
  "luminance": 0.20173
}

Semantic roles & 50–950 ramp

primary
#AC54DA
secondary
#BDDFAB
accent
#E7407A
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AC54DA

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

Preview Lab → · Contrast checker → · Palette generator →

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