#AC97DA#AC97DA

#AC97DA is a light, moderate violet. Relative luminance 0.360; OKLCH L 71.9% C 0.098 H 298.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#AC97DA
RGBrgb(172, 151, 218)
HSLhsl(259, 48%, 72%)
HSVhsv(259, 31%, 85%)
CMYKcmyk(21.1%, 30.7%, 0%, 14.5%)
CIE-LABlab(66.49, 21.39, -31.29)
CIE-LCHlch(66.49, 37.91, 304.35°)
OKLaboklab(71.95% 0.0465 -0.0864)
OKLCHoklch(71.95% 0.098 298.3)
XYZxyz(40.7320, 35.9656, 71.1122)
Luminance0.3597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC97DA #C5DA97
analogous
#97A4DA #AC97DA #CE97DA
triadic
#AC97DA #DAAC97 #97DAAC
tetradic
#AC97DA #DA97A4 #C5DA97 #97DACE
square
#AC97DA #DA97A4 #C5DA97 #97DACE
split-complementary
#AC97DA #DACE97 #A4DA97
monochromatic
#6541B6 #886ACA #AC97DA #D0C4EA #EDE8F7

Accessibility & contrast

On white

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

On black

8.19
#AC97DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC97DA
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC97DA#FFFFFF#000000##000000
##AC97DA1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A2DD
Deuteranopia (green-blind)
#8BA1D8
Tritanopia (blue-blind)
#A4A2AF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ac97da;
/* rgb */ color: rgb(172, 151, 218);
/* oklch */ color: oklch(71.9% 0.098 298.3);
Tailwind
colors: {
  custom: {
    50: '#c5b5e5',
    500: '#ac97da',
    950: '#000000',
  },
}
SCSS
$custom: #ac97da;
$custom-light: #c5b5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac97da",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 218
  },
  "hsl": {
    "h": 258.806,
    "s": 47.518,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71947,
    "c": 0.09808,
    "h": 298.3
  },
  "luminance": 0.35966
}

Semantic roles & 50–950 ramp

primary
#AC97DA
secondary
#E9EEDD
accent
#BB2B8E
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AC97DA

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

Preview Lab → · Contrast checker → · Palette generator →

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