#AC5AEA#AC5AEA

#AC5AEA is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.9% C 0.213 H 307.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AC5AEA
RGBrgb(172, 90, 234)
HSLhsl(274, 77%, 64%)
HSVhsv(274, 62%, 92%)
CMYKcmyk(26.5%, 61.5%, 0%, 8.2%)
CIE-LABlab(54.05, 58.19, -59.85)
CIE-LCHlch(54.05, 83.47, 314.20°)
OKLaboklab(62.9% 0.1301 -0.169)
OKLCHoklch(62.9% 0.213 307.6)
XYZxyz(35.5176, 22.0240, 80.2059)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5AEA #98EA5A
analogous
#645AEA #AC5AEA #EA5AE0
triadic
#AC5AEA #EAAC5A #5AEAAC
tetradic
#AC5AEA #EA645A #98EA5A #5AE0EA
square
#AC5AEA #EA645A #98EA5A #5AE0EA
split-complementary
#AC5AEA #E0EA5A #5AEA64
monochromatic
#7017B3 #9124E3 #AC5AEA #C790F1 #E3C7F8

Accessibility & contrast

On white

3.89
#AC5AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#AC5AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5AEA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5AEA#FFFFFF#000000##000000
##AC5AEA1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#067EEE
Deuteranopia (green-blind)
#4082E7
Tritanopia (blue-blind)
#A2779A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ac5aea;
/* rgb */ color: rgb(172, 90, 234);
/* oklch */ color: oklch(62.9% 0.213 307.6);
Tailwind
colors: {
  custom: {
    50: '#c98df1',
    500: '#ac5aea',
    950: '#000000',
  },
}
SCSS
$custom: #ac5aea;
$custom-light: #c98df1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5aea",
  "rgb": {
    "r": 172,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 274.167,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.629,
    "c": 0.21334,
    "h": 307.6
  },
  "luminance": 0.22023
}

Semantic roles & 50–950 ramp

primary
#AC5AEA
secondary
#CCE9B6
accent
#DA0C64
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC5AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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