#AC97DB#AC97DB

#AC97DB is a light, moderate violet. Relative luminance 0.360; OKLCH L 72.0% C 0.099 H 298.0°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#AC97DB
RGBrgb(172, 151, 219)
HSLhsl(259, 49%, 73%)
HSVhsv(259, 31%, 86%)
CMYKcmyk(21.5%, 31.1%, 0%, 14.1%)
CIE-LABlab(66.53, 21.62, -31.78)
CIE-LCHlch(66.53, 38.44, 304.23°)
OKLaboklab(71.99% 0.0468 -0.0878)
OKLCHoklch(71.99% 0.099 298)
XYZxyz(40.8632, 36.0181, 71.8035)
Luminance0.3602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC97DB #C6DB97
analogous
#97A4DB #AC97DB #CE97DB
triadic
#AC97DB #DBAC97 #97DBAC
tetradic
#AC97DB #DB97A4 #C6DB97 #97DBCE
square
#AC97DB #DB97A4 #C6DB97 #97DBCE
split-complementary
#AC97DB #DBCE97 #A4DB97
monochromatic
#6540B8 #886ACB #AC97DB #D0C4EB #EDE8F7

Accessibility & contrast

On white

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

On black

8.20
#AC97DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC97DB
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC97DB#FFFFFF#000000##000000
##AC97DB1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A2DE
Deuteranopia (green-blind)
#8BA1D9
Tritanopia (blue-blind)
#A3A2AF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ac97db;
/* rgb */ color: rgb(172, 151, 219);
/* oklch */ color: oklch(72.0% 0.099 298.0);
Tailwind
colors: {
  custom: {
    50: '#c5b5e6',
    500: '#ac97db',
    950: '#000000',
  },
}
SCSS
$custom: #ac97db;
$custom-light: #c5b5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac97db",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 258.529,
    "s": 48.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71991,
    "c": 0.09944,
    "h": 298
  },
  "luminance": 0.36018
}

Semantic roles & 50–950 ramp

primary
#AC97DB
secondary
#E9EEDD
accent
#BC2A8F
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AC97DB

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

Preview Lab → · Contrast checker → · Palette generator →

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