#AC54DD#AC54DD

#AC54DD is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.3% C 0.208 H 311.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AC54DD
RGBrgb(172, 84, 221)
HSLhsl(279, 67%, 60%)
HSVhsv(279, 62%, 87%)
CMYKcmyk(22.2%, 62%, 0%, 13.3%)
CIE-LABlab(52.21, 58.23, -55.47)
CIE-LCHlch(52.21, 80.42, 316.39°)
OKLaboklab(61.32% 0.1376 -0.1562)
OKLCHoklch(61.32% 0.208 311.4)
XYZxyz(33.2323, 20.3325, 70.5665)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54DD #85DD54
analogous
#6854DD #AC54DD #DD54CA
triadic
#AC54DD #DDAC54 #54DDAC
tetradic
#AC54DD #DD6854 #85DD54 #54CADD
square
#AC54DD #DD6854 #85DD54 #54CADD
split-complementary
#AC54DD #CADD54 #54DD68
monochromatic
#6D1E98 #9128CB #AC54DD #C587E7 #DEBAF1

Accessibility & contrast

On white

4.14
#AC54DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#AC54DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54DD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54DD#FFFFFF#000000##000000
##AC54DD1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1678E1
Deuteranopia (green-blind)
#477EDA
Tritanopia (blue-blind)
#A66E91
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ac54dd;
/* rgb */ color: rgb(172, 84, 221);
/* oklch */ color: oklch(61.3% 0.208 311.4);
Tailwind
colors: {
  custom: {
    50: '#c889e8',
    500: '#ac54dd',
    950: '#000000',
  },
}
SCSS
$custom: #ac54dd;
$custom-light: #c889e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54dd",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 278.54,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61315,
    "c": 0.20814,
    "h": 311.4
  },
  "luminance": 0.20332
}

Semantic roles & 50–950 ramp

primary
#AC54DD
secondary
#BFE1AC
accent
#EA3E7B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC54DD

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

Preview Lab → · Contrast checker → · Palette generator →

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