#AC7AE7#AC7AE7

#AC7AE7 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.4% C 0.162 H 303.5°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#AC7AE7
RGBrgb(172, 122, 231)
HSLhsl(268, 69%, 69%)
HSVhsv(268, 47%, 91%)
CMYKcmyk(25.5%, 47.2%, 0%, 9.4%)
CIE-LABlab(60.30, 40.72, -48.20)
CIE-LCHlch(60.30, 63.10, 310.19°)
OKLaboklab(67.45% 0.0895 -0.1351)
OKLCHoklch(67.45% 0.162 303.5)
XYZxyz(38.3935, 28.4593, 79.0564)
Luminance0.2846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7AE7 #B5E77A
analogous
#7A7FE7 #AC7AE7 #E37AE7
triadic
#AC7AE7 #E7AC7A #7AE7AC
tetradic
#AC7AE7 #E77A7F #B5E77A #7AE7E3
square
#AC7AE7 #E77A7F #B5E77A #7AE7E3
split-complementary
#AC7AE7 #E7E37A #7FE77A
monochromatic
#6D23C3 #8C46DE #AC7AE7 #CCAEF0 #EDE2FA

Accessibility & contrast

On white

3.14
#AC7AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#AC7AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7AE7
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7AE7#FFFFFF#000000##000000
##AC7AE71.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B90EB
Deuteranopia (green-blind)
#6791E4
Tritanopia (blue-blind)
#A28DA6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ac7ae7;
/* rgb */ color: rgb(172, 122, 231);
/* oklch */ color: oklch(67.4% 0.162 303.5);
Tailwind
colors: {
  custom: {
    50: '#c7a1ef',
    500: '#ac7ae7',
    950: '#000000',
  },
}
SCSS
$custom: #ac7ae7;
$custom-light: #c7a1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7ae7",
  "rgb": {
    "r": 172,
    "g": 122,
    "b": 231
  },
  "hsl": {
    "h": 267.523,
    "s": 69.427,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67448,
    "c": 0.16205,
    "h": 303.5
  },
  "luminance": 0.28459
}

Semantic roles & 50–950 ramp

primary
#AC7AE7
secondary
#E0EECF
accent
#D1147B
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AC7AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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