#AC5AE7#AC5AE7

#AC5AE7 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.7% C 0.210 H 308.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AC5AE7
RGBrgb(172, 90, 231)
HSLhsl(275, 75%, 63%)
HSVhsv(275, 61%, 91%)
CMYKcmyk(25.5%, 61%, 0%, 9.4%)
CIE-LABlab(53.87, 57.52, -58.45)
CIE-LCHlch(53.87, 82.01, 314.54°)
OKLaboklab(62.71% 0.1303 -0.165)
OKLCHoklch(62.71% 0.21 308.3)
XYZxyz(35.0903, 21.8530, 77.9553)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5AE7 #95E75A
analogous
#665AE7 #AC5AE7 #E75ADB
triadic
#AC5AE7 #E7AC5A #5AE7AC
tetradic
#AC5AE7 #E7665A #95E75A #5ADBE7
square
#AC5AE7 #E7665A #95E75A #5ADBE7
split-complementary
#AC5AE7 #DBE75A #5AE766
monochromatic
#6F19AD #9125DF #AC5AE7 #C78FEF #E2C5F7

Accessibility & contrast

On white

3.91
#AC5AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#AC5AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5AE7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5AE7#FFFFFF#000000##000000
##AC5AE71.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#137EEB
Deuteranopia (green-blind)
#4482E4
Tritanopia (blue-blind)
#A37698
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ac5ae7;
/* rgb */ color: rgb(172, 90, 231);
/* oklch */ color: oklch(62.7% 0.210 308.3);
Tailwind
colors: {
  custom: {
    50: '#c88def',
    500: '#ac5ae7',
    950: '#000000',
  },
}
SCSS
$custom: #ac5ae7;
$custom-light: #c88def;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5ae7",
  "rgb": {
    "r": 172,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 274.894,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6271,
    "c": 0.21018,
    "h": 308.3
  },
  "luminance": 0.21853
}

Semantic roles & 50–950 ramp

primary
#AC5AE7
secondary
#CAE8B5
accent
#D70F62
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC5AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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