#AC54ED#AC54ED

#AC54ED is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.3% C 0.224 H 307.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AC54ED
RGBrgb(172, 84, 237)
HSLhsl(275, 81%, 63%)
HSVhsv(275, 65%, 93%)
CMYKcmyk(27.4%, 64.6%, 0%, 7.1%)
CIE-LABlab(53.20, 61.71, -62.90)
CIE-LCHlch(53.20, 88.12, 314.45°)
OKLaboklab(62.34% 0.1368 -0.178)
OKLCHoklch(62.34% 0.224 307.5)
XYZxyz(35.4665, 21.2262, 82.3330)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54ED #95ED54
analogous
#6054ED #AC54ED #ED54E1
triadic
#AC54ED #EDAC54 #54EDAC
tetradic
#AC54ED #ED6054 #95ED54 #54E1ED
square
#AC54ED #ED6054 #95ED54 #54E1ED
split-complementary
#AC54ED #E1ED54 #54ED60
monochromatic
#6F13B4 #911DE7 #AC54ED #C78BF3 #E2C3F9

Accessibility & contrast

On white

4.00
#AC54ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#AC54ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54ED
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54ED#FFFFFF#000000##000000
##AC54ED1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF2
Deuteranopia (green-blind)
#3480EA
Tritanopia (blue-blind)
#A27499
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ac54ed;
/* rgb */ color: rgb(172, 84, 237);
/* oklch */ color: oklch(62.3% 0.224 307.5);
Tailwind
colors: {
  custom: {
    50: '#c989f4',
    500: '#ac54ed',
    950: '#000000',
  },
}
SCSS
$custom: #ac54ed;
$custom-light: #c989f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54ed",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 274.51,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62341,
    "c": 0.22448,
    "h": 307.5
  },
  "luminance": 0.21226
}

Semantic roles & 50–950 ramp

primary
#AC54ED
secondary
#CAEAB3
accent
#DD0863
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC54ED

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

Preview Lab → · Contrast checker → · Palette generator →

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