#AC54DB#AC54DB

#AC54DB is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.2% C 0.206 H 311.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AC54DB
RGBrgb(172, 84, 219)
HSLhsl(279, 65%, 59%)
HSVhsv(279, 62%, 86%)
CMYKcmyk(21.5%, 61.6%, 0%, 14.1%)
CIE-LABlab(52.09, 57.80, -54.53)
CIE-LCHlch(52.09, 79.47, 316.67°)
OKLaboklab(61.19% 0.1376 -0.1534)
OKLCHoklch(61.19% 0.206 311.9)
XYZxyz(32.9675, 20.2266, 69.1716)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54DB #83DB54
analogous
#6954DB #AC54DB #DB54C7
triadic
#AC54DB #DBAC54 #54DBAC
tetradic
#AC54DB #DB6954 #83DB54 #54C7DB
square
#AC54DB #DB6954 #83DB54 #54C7DB
split-complementary
#AC54DB #C7DB54 #54DB69
monochromatic
#6C1F95 #912AC8 #AC54DB #C587E6 #DDB9F0

Accessibility & contrast

On white

4.16
#AC54DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#AC54DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54DB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54DB#FFFFFF#000000##000000
##AC54DB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B78DF
Deuteranopia (green-blind)
#497ED8
Tritanopia (blue-blind)
#A76E90
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ac54db;
/* rgb */ color: rgb(172, 84, 219);
/* oklch */ color: oklch(61.2% 0.206 311.9);
Tailwind
colors: {
  custom: {
    50: '#c889e7',
    500: '#ac54db',
    950: '#000000',
  },
}
SCSS
$custom: #ac54db;
$custom-light: #c889e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54db",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 279.111,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61191,
    "c": 0.2061,
    "h": 311.9
  },
  "luminance": 0.20226
}

Semantic roles & 50–950 ramp

primary
#AC54DB
secondary
#BDE0AB
accent
#E8407A
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AC54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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