#AC54CA#AC54CA

#AC54CA is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.2% C 0.189 H 316.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AC54CA
RGBrgb(172, 84, 202)
HSLhsl(285, 53%, 56%)
HSVhsv(285, 58%, 79%)
CMYKcmyk(14.9%, 58.4%, 0%, 20.8%)
CIE-LABlab(51.13, 54.26, -46.38)
CIE-LCHlch(51.13, 71.38, 319.48°)
OKLaboklab(60.18% 0.1375 -0.1296)
OKLCHoklch(60.18% 0.189 316.7)
XYZxyz(30.8427, 19.3767, 57.9811)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54CA #72CA54
analogous
#7154CA #AC54CA #CA54AD
triadic
#AC54CA #CAAC54 #54CAAC
tetradic
#AC54CA #CA7154 #72CA54 #54ADCA
square
#AC54CA #CA7154 #72CA54 #54ADCA
split-complementary
#AC54CA #ADCA54 #54CA71
monochromatic
#67277D #8E35AC #AC54CA #C383D8 #D9B1E7

Accessibility & contrast

On white

4.31
#AC54CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AC54CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54CA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54CA#FFFFFF#000000##000000
##AC54CA1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3574CE
Deuteranopia (green-blind)
#567CC7
Tritanopia (blue-blind)
#AB6887
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac54ca;
/* rgb */ color: rgb(172, 84, 202);
/* oklch */ color: oklch(60.2% 0.189 316.7);
Tailwind
colors: {
  custom: {
    50: '#c888db',
    500: '#ac54ca',
    950: '#000000',
  },
}
SCSS
$custom: #ac54ca;
$custom-light: #c888db;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54ca",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 284.746,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60176,
    "c": 0.18891,
    "h": 316.7
  },
  "luminance": 0.19376
}

Semantic roles & 50–950 ramp

primary
#AC54CA
secondary
#B1D5A5
accent
#DC4C70
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC54CA

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

Preview Lab → · Contrast checker → · Palette generator →

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