#AC54EA#AC54EA

#AC54EA is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.1% C 0.221 H 308.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AC54EA
RGBrgb(172, 84, 234)
HSLhsl(275, 78%, 62%)
HSVhsv(275, 64%, 92%)
CMYKcmyk(26.5%, 64.1%, 0%, 8.2%)
CIE-LABlab(53.01, 61.05, -61.53)
CIE-LCHlch(53.01, 86.67, 314.78°)
OKLaboklab(62.14% 0.137 -0.1739)
OKLCHoklch(62.14% 0.221 308.2)
XYZxyz(35.0318, 21.0523, 80.0440)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54EA #92EA54
analogous
#6154EA #AC54EA #EA54DD
triadic
#AC54EA #EAAC54 #54EAAC
tetradic
#AC54EA #EA6154 #92EA54 #54DDEA
square
#AC54EA #EA6154 #92EA54 #54DDEA
split-complementary
#AC54EA #DDEA54 #54EA61
monochromatic
#6F15AE #921DE3 #AC54EA #C68BF1 #E1C1F7

Accessibility & contrast

On white

4.03
#AC54EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#AC54EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54EA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54EA#FFFFFF#000000##000000
##AC54EA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#3980E7
Tritanopia (blue-blind)
#A37398
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ac54ea;
/* rgb */ color: rgb(172, 84, 234);
/* oklch */ color: oklch(62.1% 0.221 308.2);
Tailwind
colors: {
  custom: {
    50: '#c989f1',
    500: '#ac54ea',
    950: '#000000',
  },
}
SCSS
$custom: #ac54ea;
$custom-light: #c989f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54ea",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 275.2,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62144,
    "c": 0.22141,
    "h": 308.2
  },
  "luminance": 0.21052
}

Semantic roles & 50–950 ramp

primary
#AC54EA
secondary
#C8E8B2
accent
#DA0B61
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC54EA

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

Preview Lab → · Contrast checker → · Palette generator →

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