#AC54D7#AC54D7

#AC54D7 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 60.9% C 0.202 H 313.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AC54D7
RGBrgb(172, 84, 215)
HSLhsl(280, 62%, 59%)
HSVhsv(280, 61%, 84%)
CMYKcmyk(20%, 60.9%, 0%, 15.7%)
CIE-LABlab(51.86, 56.96, -52.63)
CIE-LCHlch(51.86, 77.55, 317.26°)
OKLaboklab(60.95% 0.1377 -0.1479)
OKLCHoklch(60.95% 0.202 313)
XYZxyz(32.4472, 20.0185, 66.4315)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54D7 #7FD754
analogous
#6A54D7 #AC54D7 #D754C0
triadic
#AC54D7 #D7AC54 #54D7AC
tetradic
#AC54D7 #D76A54 #7FD754 #54C0D7
square
#AC54D7 #D76A54 #7FD754 #54C0D7
split-complementary
#AC54D7 #C0D754 #54D76A
monochromatic
#6B218F #902DC1 #AC54D7 #C486E3 #DCB7EE

Accessibility & contrast

On white

4.20
#AC54D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AC54D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54D7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54D7#FFFFFF#000000##000000
##AC54D71.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2377DB
Deuteranopia (green-blind)
#4C7ED4
Tritanopia (blue-blind)
#A86C8E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ac54d7;
/* rgb */ color: rgb(172, 84, 215);
/* oklch */ color: oklch(60.9% 0.202 313.0);
Tailwind
colors: {
  custom: {
    50: '#c889e4',
    500: '#ac54d7',
    950: '#000000',
  },
}
SCSS
$custom: #ac54d7;
$custom-light: #c889e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54d7",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 215
  },
  "hsl": {
    "h": 280.305,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60946,
    "c": 0.20204,
    "h": 313
  },
  "luminance": 0.20018
}

Semantic roles & 50–950 ramp

primary
#AC54D7
secondary
#BBDDA9
accent
#E54378
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AC54D7

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

Preview Lab → · Contrast checker → · Palette generator →

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