#AC5AEF#AC5AEF

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

Color values

HEX#AC5AEF
RGBrgb(172, 90, 239)
HSLhsl(273, 82%, 65%)
HSVhsv(273, 62%, 94%)
CMYKcmyk(28%, 62.3%, 0%, 6.3%)
CIE-LABlab(54.36, 59.31, -62.15)
CIE-LCHlch(54.36, 85.91, 313.66°)
OKLaboklab(63.22% 0.1299 -0.1758)
OKLCHoklch(63.22% 0.219 306.5)
XYZxyz(36.2461, 22.3153, 84.0424)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5AEF #9DEF5A
analogous
#625AEF #AC5AEF #EF5AE8
triadic
#AC5AEF #EFAC5A #5AEFAC
tetradic
#AC5AEF #EF625A #9DEF5A #5AE8EF
square
#AC5AEF #EF625A #9DEF5A #5AE8EF
split-complementary
#AC5AEF #E8EF5A #5AEF62
monochromatic
#7012BC #9022EA #AC5AEF #C892F4 #E4CAFA

Accessibility & contrast

On white

3.84
#AC5AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#AC5AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5AEF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5AEF#FFFFFF#000000##000000
##AC5AEF1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#3A83EC
Tritanopia (blue-blind)
#A1799D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ac5aef;
/* rgb */ color: rgb(172, 90, 239);
/* oklch */ color: oklch(63.2% 0.219 306.5);
Tailwind
colors: {
  custom: {
    50: '#c98df5',
    500: '#ac5aef',
    950: '#000000',
  },
}
SCSS
$custom: #ac5aef;
$custom-light: #c98df5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5aef",
  "rgb": {
    "r": 172,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 273.02,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63221,
    "c": 0.21861,
    "h": 306.5
  },
  "luminance": 0.22315
}

Semantic roles & 50–950 ramp

primary
#AC5AEF
secondary
#D0ECB9
accent
#DF0768
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC5AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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