#AC97CE#AC97CE

#AC97CE is a light, moderate violet. Relative luminance 0.354; OKLCH L 71.4% C 0.082 H 301.8°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#AC97CE
RGBrgb(172, 151, 206)
HSLhsl(263, 36%, 70%)
HSVhsv(263, 27%, 81%)
CMYKcmyk(16.5%, 26.7%, 0%, 19.2%)
CIE-LABlab(66.03, 18.67, -25.35)
CIE-LCHlch(66.03, 31.48, 306.37°)
OKLaboklab(71.44% 0.0432 -0.0695)
OKLCHoklch(71.44% 0.082 301.8)
XYZxyz(39.2182, 35.3601, 63.1396)
Luminance0.3536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC97CE #B9CE97
analogous
#979DCE #AC97CE #C897CE
triadic
#AC97CE #CEAC97 #97CEAC
tetradic
#AC97CE #CE979D #B9CE97 #97CEC8
square
#AC97CE #CE979D #B9CE97 #97CEC8
split-complementary
#AC97CE #CEC897 #9DCE97
monochromatic
#6B4B9F #8B6DBA #AC97CE #CDC1E2 #EEEAF5

Accessibility & contrast

On white

2.60
#AC97CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#AC97CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC97CE
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC97CE#FFFFFF#000000##000000
##AC97CE1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA0D0
Deuteranopia (green-blind)
#90A0CC
Tritanopia (blue-blind)
#A69FAA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ac97ce;
/* rgb */ color: rgb(172, 151, 206);
/* oklch */ color: oklch(71.4% 0.082 301.8);
Tailwind
colors: {
  custom: {
    50: '#c5b5dd',
    500: '#ac97ce',
    950: '#000000',
  },
}
SCSS
$custom: #ac97ce;
$custom-light: #c5b5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac97ce",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 206
  },
  "hsl": {
    "h": 262.909,
    "s": 35.948,
    "l": 70
  },
  "oklch": {
    "l": 0.71436,
    "c": 0.08179,
    "h": 301.8
  },
  "luminance": 0.3536
}

Semantic roles & 50–950 ramp

primary
#AC97CE
secondary
#E2E8D9
accent
#AF3781
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AC97CE

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

Preview Lab → · Contrast checker → · Palette generator →

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