#AC54CD#AC54CD

#AC54CD is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.3% C 0.192 H 315.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AC54CD
RGBrgb(172, 84, 205)
HSLhsl(284, 55%, 57%)
HSVhsv(284, 59%, 80%)
CMYKcmyk(16.1%, 59%, 0%, 19.6%)
CIE-LABlab(51.29, 54.87, -47.83)
CIE-LCHlch(51.29, 72.79, 318.92°)
OKLaboklab(60.35% 0.1376 -0.1338)
OKLCHoklch(60.35% 0.192 315.8)
XYZxyz(31.2013, 19.5201, 59.8700)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54CD #75CD54
analogous
#7054CD #AC54CD #CD54B2
triadic
#AC54CD #CDAC54 #54CDAC
tetradic
#AC54CD #CD7054 #75CD54 #54B2CD
square
#AC54CD #CD7054 #75CD54 #54B2CD
split-complementary
#AC54CD #B2CD54 #54CD70
monochromatic
#682681 #8E34B0 #AC54CD #C383DB #DAB3E9

Accessibility & contrast

On white

4.28
#AC54CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#AC54CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54CD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54CD#FFFFFF#000000##000000
##AC54CD1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#547DCA
Tritanopia (blue-blind)
#AA6989
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac54cd;
/* rgb */ color: rgb(172, 84, 205);
/* oklch */ color: oklch(60.3% 0.192 315.8);
Tailwind
colors: {
  custom: {
    50: '#c889dd',
    500: '#ac54cd',
    950: '#000000',
  },
}
SCSS
$custom: #ac54cd;
$custom-light: #c889dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54cd",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 283.636,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60349,
    "c": 0.19193,
    "h": 315.8
  },
  "luminance": 0.19519
}

Semantic roles & 50–950 ramp

primary
#AC54CD
secondary
#B3D7A6
accent
#DE4A72
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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