#AC54FF#AC54FF

#AC54FF is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.6% C 0.243 H 303.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AC54FF
RGBrgb(172, 84, 255)
HSLhsl(271, 100%, 66%)
HSVhsv(271, 67%, 100%)
CMYKcmyk(32.5%, 67.1%, 0%, 0%)
CIE-LABlab(54.38, 65.73, -71.03)
CIE-LCHlch(54.38, 96.78, 312.78°)
OKLaboklab(63.56% 0.135 -0.2019)
OKLCHoklch(63.56% 0.243 303.8)
XYZxyz(38.2294, 22.3314, 96.8847)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54FF #A7FF54
analogous
#5754FF #AC54FF #FF54FD
triadic
#AC54FF #FFAC54 #54FFAC
tetradic
#AC54FF #FF5754 #A7FF54 #54FDFF
square
#AC54FF #FF5754 #A7FF54 #54FDFF
split-complementary
#AC54FF #FDFF54 #54FF57
monochromatic
#6F00D9 #8E17FF #AC54FF #CA91FF #E7CEFF

Accessibility & contrast

On white

3.84
#AC54FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#AC54FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54FF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54FF#FFFFFF#000000##000000
##AC54FF1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0082FB
Tritanopia (blue-blind)
#9C7BA3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ac54ff;
/* rgb */ color: rgb(172, 84, 255);
/* oklch */ color: oklch(63.6% 0.243 303.8);
Tailwind
colors: {
  custom: {
    50: '#ca8aff',
    500: '#ac54ff',
    950: '#000000',
  },
}
SCSS
$custom: #ac54ff;
$custom-light: #ca8aff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54ff",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 255
  },
  "hsl": {
    "h": 270.877,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63563,
    "c": 0.24284,
    "h": 303.8
  },
  "luminance": 0.22331
}

Semantic roles & 50–950 ramp

primary
#AC54FF
secondary
#D7F3BC
accent
#E6006F
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #AC54FF

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

Preview Lab → · Contrast checker → · Palette generator →

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