#AC54CF#AC54CF

#AC54CF is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.5% C 0.194 H 315.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AC54CF
RGBrgb(172, 84, 207)
HSLhsl(283, 56%, 57%)
HSVhsv(283, 59%, 81%)
CMYKcmyk(16.9%, 59.4%, 0%, 18.8%)
CIE-LABlab(51.40, 55.29, -48.80)
CIE-LCHlch(51.40, 73.74, 318.57°)
OKLaboklab(60.47% 0.1376 -0.1367)
OKLCHoklch(60.47% 0.194 315.2)
XYZxyz(31.4443, 19.6173, 61.1495)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54CF #77CF54
analogous
#6F54CF #AC54CF #CF54B4
triadic
#AC54CF #CFAC54 #54CFAC
tetradic
#AC54CF #CF6F54 #77CF54 #54B4CF
square
#AC54CF #CF6F54 #77CF54 #54B4CF
split-complementary
#AC54CF #B4CF54 #54CF6F
monochromatic
#692584 #8F32B3 #AC54CF #C384DC #DAB4EA

Accessibility & contrast

On white

4.27
#AC54CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#AC54CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54CF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54CF#FFFFFF#000000##000000
##AC54CF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F75D3
Deuteranopia (green-blind)
#537DCC
Tritanopia (blue-blind)
#AA698A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac54cf;
/* rgb */ color: rgb(172, 84, 207);
/* oklch */ color: oklch(60.5% 0.194 315.2);
Tailwind
colors: {
  custom: {
    50: '#c889de',
    500: '#ac54cf',
    950: '#000000',
  },
}
SCSS
$custom: #ac54cf;
$custom-light: #c889de;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54cf",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 282.927,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60467,
    "c": 0.19394,
    "h": 315.2
  },
  "luminance": 0.19616
}

Semantic roles & 50–950 ramp

primary
#AC54CF
secondary
#B5D8A6
accent
#DF4873
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC54CF

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

Preview Lab → · Contrast checker → · Palette generator →

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