#AC97DF#AC97DF

#AC97DF is a light, moderate violet. Relative luminance 0.362; OKLCH L 72.2% C 0.105 H 297.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#AC97DF
RGBrgb(172, 151, 223)
HSLhsl(258, 53%, 73%)
HSVhsv(258, 32%, 87%)
CMYKcmyk(22.9%, 32.3%, 0%, 12.5%)
CIE-LABlab(66.70, 22.55, -33.74)
CIE-LCHlch(66.70, 40.59, 303.76°)
OKLaboklab(72.17% 0.0478 -0.0934)
OKLCHoklch(72.17% 0.105 297.1)
XYZxyz(41.3961, 36.2313, 74.6102)
Luminance0.3623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC97DF #CADF97
analogous
#97A6DF #AC97DF #D097DF
triadic
#AC97DF #DFAC97 #97DFAC
tetradic
#AC97DF #DF97A6 #CADF97 #97DFD0
square
#AC97DF #DF97A6 #CADF97 #97DFD0
split-complementary
#AC97DF #DFD097 #A6DF97
monochromatic
#623BC0 #8768D1 #AC97DF #D1C6ED #ECE8F8

Accessibility & contrast

On white

2.55
#AC97DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#AC97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC97DF
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC97DF#FFFFFF#000000##000000
##AC97DF1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A3E2
Deuteranopia (green-blind)
#89A1DD
Tritanopia (blue-blind)
#A2A3B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ac97df;
/* rgb */ color: rgb(172, 151, 223);
/* oklch */ color: oklch(72.2% 0.105 297.1);
Tailwind
colors: {
  custom: {
    50: '#c6b5e9',
    500: '#ac97df',
    950: '#000000',
  },
}
SCSS
$custom: #ac97df;
$custom-light: #c6b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac97df",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 257.5,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72169,
    "c": 0.10489,
    "h": 297.1
  },
  "luminance": 0.36232
}

Semantic roles & 50–950 ramp

primary
#AC97DF
secondary
#E9EFDC
accent
#C02593
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AC97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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