#AC97DC#AC97DC

#AC97DC is a light, moderate violet. Relative luminance 0.361; OKLCH L 72.0% C 0.101 H 297.8°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#AC97DC
RGBrgb(172, 151, 220)
HSLhsl(258, 50%, 73%)
HSVhsv(258, 31%, 86%)
CMYKcmyk(21.8%, 31.4%, 0%, 13.7%)
CIE-LABlab(66.57, 21.85, -32.27)
CIE-LCHlch(66.57, 38.98, 304.10°)
OKLaboklab(72.04% 0.047 -0.0892)
OKLCHoklch(72.04% 0.101 297.8)
XYZxyz(40.9952, 36.0709, 72.4989)
Luminance0.3607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC97DC #C7DC97
analogous
#97A4DC #AC97DC #CE97DC
triadic
#AC97DC #DCAC97 #97DCAC
tetradic
#AC97DC #DC97A4 #C7DC97 #97DCCE
square
#AC97DC #DC97A4 #C7DC97 #97DCCE
split-complementary
#AC97DC #DCCE97 #A4DC97
monochromatic
#643FBA #8769CD #AC97DC #D1C5EB #EDE8F7

Accessibility & contrast

On white

2.56
#AC97DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#AC97DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC97DC
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC97DC#FFFFFF#000000##000000
##AC97DC1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A2DF
Deuteranopia (green-blind)
#8AA1DA
Tritanopia (blue-blind)
#A3A2B0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ac97dc;
/* rgb */ color: rgb(172, 151, 220);
/* oklch */ color: oklch(72.0% 0.101 297.8);
Tailwind
colors: {
  custom: {
    50: '#c5b5e7',
    500: '#ac97dc',
    950: '#000000',
  },
}
SCSS
$custom: #ac97dc;
$custom-light: #c5b5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac97dc",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 258.261,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72035,
    "c": 0.1008,
    "h": 297.8
  },
  "luminance": 0.36071
}

Semantic roles & 50–950 ramp

primary
#AC97DC
secondary
#E9EEDD
accent
#BD2990
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AC97DC

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

Preview Lab → · Contrast checker → · Palette generator →

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