#AC5AF2#AC5AF2

#AC5AF2 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.4% C 0.222 H 305.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AC5AF2
RGBrgb(172, 90, 242)
HSLhsl(272, 85%, 65%)
HSVhsv(272, 63%, 95%)
CMYKcmyk(28.9%, 62.8%, 0%, 5.1%)
CIE-LABlab(54.55, 59.99, -63.52)
CIE-LCHlch(54.55, 87.37, 313.36°)
OKLaboklab(63.42% 0.1298 -0.1798)
OKLCHoklch(63.42% 0.222 305.8)
XYZxyz(36.6930, 22.4941, 86.3959)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5AF2 #A0F25A
analogous
#605AF2 #AC5AF2 #F25AEC
triadic
#AC5AF2 #F2AC5A #5AF2AC
tetradic
#AC5AF2 #F2605A #A0F25A #5AECF2
square
#AC5AF2 #F2605A #A0F25A #5AECF2
split-complementary
#AC5AF2 #ECF25A #5AF260
monochromatic
#700FC2 #8F21EE #AC5AF2 #C993F6 #E5CBFB

Accessibility & contrast

On white

3.82
#AC5AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#AC5AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5AF2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5AF2#FFFFFF#000000##000000
##AC5AF21.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#3683EF
Tritanopia (blue-blind)
#A07A9E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ac5af2;
/* rgb */ color: rgb(172, 90, 242);
/* oklch */ color: oklch(63.4% 0.222 305.8);
Tailwind
colors: {
  custom: {
    50: '#c98df7',
    500: '#ac5af2',
    950: '#000000',
  },
}
SCSS
$custom: #ac5af2;
$custom-light: #c98df7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5af2",
  "rgb": {
    "r": 172,
    "g": 90,
    "b": 242
  },
  "hsl": {
    "h": 272.368,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63416,
    "c": 0.22177,
    "h": 305.8
  },
  "luminance": 0.22494
}

Semantic roles & 50–950 ramp

primary
#AC5AF2
secondary
#D2EEBA
accent
#E2046A
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC5AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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