#AC54D9#AC54D9

#AC54D9 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.1% C 0.204 H 312.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AC54D9
RGBrgb(172, 84, 217)
HSLhsl(280, 64%, 59%)
HSVhsv(280, 61%, 85%)
CMYKcmyk(20.7%, 61.3%, 0%, 14.9%)
CIE-LABlab(51.97, 57.38, -53.58)
CIE-LCHlch(51.97, 78.51, 316.96°)
OKLaboklab(61.07% 0.1377 -0.1506)
OKLCHoklch(61.07% 0.204 312.4)
XYZxyz(32.7057, 20.1219, 67.7932)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54D9 #81D954
analogous
#6A54D9 #AC54D9 #D954C4
triadic
#AC54D9 #D9AC54 #54D9AC
tetradic
#AC54D9 #D96A54 #81D954 #54C4D9
square
#AC54D9 #D96A54 #81D954 #54C4D9
split-complementary
#AC54D9 #C4D954 #54D96A
monochromatic
#6C2092 #912CC4 #AC54D9 #C486E4 #DDB8EF

Accessibility & contrast

On white

4.18
#AC54D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#AC54D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54D9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54D9#FFFFFF#000000##000000
##AC54D91.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac54d9;
/* rgb */ color: rgb(172, 84, 217);
/* oklch */ color: oklch(61.1% 0.204 312.4);
Tailwind
colors: {
  custom: {
    50: '#c889e5',
    500: '#ac54d9',
    950: '#000000',
  },
}
SCSS
$custom: #ac54d9;
$custom-light: #c889e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54d9",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 279.699,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61068,
    "c": 0.20407,
    "h": 312.4
  },
  "luminance": 0.20121
}

Semantic roles & 50–950 ramp

primary
#AC54D9
secondary
#BCDFAA
accent
#E74179
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AC54D9

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

Preview Lab → · Contrast checker → · Palette generator →

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