#AC7AE2#AC7AE2

#AC7AE2 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.2% C 0.156 H 304.7°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AC7AE2
RGBrgb(172, 122, 226)
HSLhsl(269, 64%, 68%)
HSVhsv(269, 46%, 89%)
CMYKcmyk(23.9%, 46%, 0%, 11.4%)
CIE-LABlab(60.05, 39.55, -45.81)
CIE-LCHlch(60.05, 60.52, 310.81°)
OKLaboklab(67.18% 0.0889 -0.1281)
OKLCHoklch(67.18% 0.156 304.7)
XYZxyz(37.6974, 28.1809, 75.3903)
Luminance0.2818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7AE2 #B0E27A
analogous
#7A7CE2 #AC7AE2 #E07AE2
triadic
#AC7AE2 #E2AC7A #7AE2AC
tetradic
#AC7AE2 #E27A7C #B0E27A #7AE2E0
square
#AC7AE2 #E27A7C #B0E27A #7AE2E0
split-complementary
#AC7AE2 #E2E07A #7CE27A
monochromatic
#6E28B9 #8D48D7 #AC7AE2 #CBACED #EBDEF8

Accessibility & contrast

On white

3.16
#AC7AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#AC7AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7AE2
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7AE2#FFFFFF#000000##000000
##AC7AE21.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8FE6
Deuteranopia (green-blind)
#6B91DF
Tritanopia (blue-blind)
#A38CA3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ac7ae2;
/* rgb */ color: rgb(172, 122, 226);
/* oklch */ color: oklch(67.2% 0.156 304.7);
Tailwind
colors: {
  custom: {
    50: '#c7a1eb',
    500: '#ac7ae2',
    950: '#000000',
  },
}
SCSS
$custom: #ac7ae2;
$custom-light: #c7a1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7ae2",
  "rgb": {
    "r": 172,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 268.846,
    "s": 64.198,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6718,
    "c": 0.15593,
    "h": 304.7
  },
  "luminance": 0.28181
}

Semantic roles & 50–950 ramp

primary
#AC7AE2
secondary
#DDECCC
accent
#CC1976
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AC7AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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