#AC54DE#AC54DE

#AC54DE is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.4% C 0.209 H 311.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AC54DE
RGBrgb(172, 84, 222)
HSLhsl(278, 68%, 60%)
HSVhsv(278, 62%, 87%)
CMYKcmyk(22.5%, 62.2%, 0%, 12.9%)
CIE-LABlab(52.27, 58.44, -55.94)
CIE-LCHlch(52.27, 80.90, 316.25°)
OKLaboklab(61.38% 0.1376 -0.1576)
OKLCHoklch(61.38% 0.209 311.1)
XYZxyz(33.3659, 20.3860, 71.2703)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54DE #86DE54
analogous
#6754DE #AC54DE #DE54CB
triadic
#AC54DE #DEAC54 #54DEAC
tetradic
#AC54DE #DE6754 #86DE54 #54CBDE
square
#AC54DE #DE6754 #86DE54 #54CBDE
split-complementary
#AC54DE #CBDE54 #54DE67
monochromatic
#6D1E9A #9128CD #AC54DE #C587E8 #DEBBF2

Accessibility & contrast

On white

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

On black

5.08
#AC54DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54DE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54DE#FFFFFF#000000##000000
##AC54DE1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1378E2
Deuteranopia (green-blind)
#467EDB
Tritanopia (blue-blind)
#A66F91
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ac54de;
/* rgb */ color: rgb(172, 84, 222);
/* oklch */ color: oklch(61.4% 0.209 311.1);
Tailwind
colors: {
  custom: {
    50: '#c889e9',
    500: '#ac54de',
    950: '#000000',
  },
}
SCSS
$custom: #ac54de;
$custom-light: #c889e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54de",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 278.261,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.61377,
    "c": 0.20916,
    "h": 311.1
  },
  "luminance": 0.20385
}

Semantic roles & 50–950 ramp

primary
#AC54DE
secondary
#C0E1AC
accent
#EB3D7C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC54DE

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

Preview Lab → · Contrast checker → · Palette generator →

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