#AC5AE9#AC5AE9

#AC5AE9 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.8% C 0.212 H 307.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AC5AE9
RGBrgb(172, 90, 233)
HSLhsl(274, 76%, 63%)
HSVhsv(274, 61%, 91%)
CMYKcmyk(26.2%, 61.4%, 0%, 8.6%)
CIE-LABlab(53.99, 57.97, -59.38)
CIE-LCHlch(53.99, 82.98, 314.31°)
OKLaboklab(62.84% 0.1302 -0.1677)
OKLCHoklch(62.84% 0.212 307.8)
XYZxyz(35.3744, 21.9667, 79.4514)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5AE9 #97E95A
analogous
#645AE9 #AC5AE9 #E95ADE
triadic
#AC5AE9 #E9AC5A #5AE9AC
tetradic
#AC5AE9 #E9645A #97E95A #5ADEE9
square
#AC5AE9 #E9645A #97E95A #5ADEE9
split-complementary
#AC5AE9 #DEE95A #5AE964
monochromatic
#7018B1 #9124E2 #AC5AE9 #C790F0 #E2C6F7

Accessibility & contrast

On white

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

On black

5.39
#AC5AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5AE9
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5AE9#FFFFFF#000000##000000
##AC5AE91.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B7EED
Deuteranopia (green-blind)
#4282E6
Tritanopia (blue-blind)
#A37799
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ac5ae9;
/* rgb */ color: rgb(172, 90, 233);
/* oklch */ color: oklch(62.8% 0.212 307.8);
Tailwind
colors: {
  custom: {
    50: '#c98df1',
    500: '#ac5ae9',
    950: '#000000',
  },
}
SCSS
$custom: #ac5ae9;
$custom-light: #c98df1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5ae9",
  "rgb": {
    "r": 172,
    "g": 90,
    "b": 233
  },
  "hsl": {
    "h": 274.406,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62837,
    "c": 0.21229,
    "h": 307.8
  },
  "luminance": 0.21966
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC5AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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