#AC5AEE#AC5AEE

#AC5AEE is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.2% C 0.218 H 306.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AC5AEE
RGBrgb(172, 90, 238)
HSLhsl(273, 81%, 64%)
HSVhsv(273, 62%, 93%)
CMYKcmyk(27.7%, 62.2%, 0%, 6.7%)
CIE-LABlab(54.30, 59.09, -61.69)
CIE-LCHlch(54.30, 85.42, 313.76°)
OKLaboklab(63.16% 0.13 -0.1744)
OKLCHoklch(63.16% 0.218 306.7)
XYZxyz(36.0988, 22.2564, 83.2665)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5AEE #9CEE5A
analogous
#625AEE #AC5AEE #EE5AE6
triadic
#AC5AEE #EEAC5A #5AEEAC
tetradic
#AC5AEE #EE625A #9CEE5A #5AE6EE
square
#AC5AEE #EE625A #9CEE5A #5AE6EE
split-complementary
#AC5AEE #E6EE5A #5AEE62
monochromatic
#7013BA #9023E8 #AC5AEE #C891F4 #E4C9F9

Accessibility & contrast

On white

3.85
#AC5AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#AC5AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5AEE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5AEE#FFFFFF#000000##000000
##AC5AEE1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF3
Deuteranopia (green-blind)
#3C82EB
Tritanopia (blue-blind)
#A1789C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ac5aee;
/* rgb */ color: rgb(172, 90, 238);
/* oklch */ color: oklch(63.2% 0.218 306.7);
Tailwind
colors: {
  custom: {
    50: '#c98df4',
    500: '#ac5aee',
    950: '#000000',
  },
}
SCSS
$custom: #ac5aee;
$custom-light: #c98df4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5aee",
  "rgb": {
    "r": 172,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 273.243,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63157,
    "c": 0.21755,
    "h": 306.7
  },
  "luminance": 0.22256
}

Semantic roles & 50–950 ramp

primary
#AC5AEE
secondary
#CFECB8
accent
#DE0867
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC5AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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