#AC97CD#AC97CD

#AC97CD is a light, moderate violet. Relative luminance 0.353; OKLCH L 71.4% C 0.080 H 302.2°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#AC97CD
RGBrgb(172, 151, 205)
HSLhsl(263, 35%, 70%)
HSVhsv(263, 26%, 80%)
CMYKcmyk(16.1%, 26.3%, 0%, 19.6%)
CIE-LABlab(65.99, 18.45, -24.85)
CIE-LCHlch(65.99, 30.95, 306.58°)
OKLaboklab(71.4% 0.0429 -0.0681)
OKLCHoklch(71.4% 0.08 302.2)
XYZxyz(39.0971, 35.3117, 62.5019)
Luminance0.3531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC97CD #B8CD97
analogous
#979DCD #AC97CD #C797CD
triadic
#AC97CD #CDAC97 #97CDAC
tetradic
#AC97CD #CD979D #B8CD97 #97CDC7
square
#AC97CD #CD979D #B8CD97 #97CDC7
split-complementary
#AC97CD #CDC797 #9DCD97
monochromatic
#6C4C9E #8B6EB9 #AC97CD #CDC0E1 #EEEAF5

Accessibility & contrast

On white

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

On black

8.06
#AC97CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC97CD
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC97CD#FFFFFF#000000##000000
##AC97CD1.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA0CF
Deuteranopia (green-blind)
#90A0CB
Tritanopia (blue-blind)
#A79FAA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ac97cd;
/* rgb */ color: rgb(172, 151, 205);
/* oklch */ color: oklch(71.4% 0.080 302.2);
Tailwind
colors: {
  custom: {
    50: '#c5b5dc',
    500: '#ac97cd',
    950: '#000000',
  },
}
SCSS
$custom: #ac97cd;
$custom-light: #c5b5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac97cd",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 263.333,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71395,
    "c": 0.08044,
    "h": 302.2
  },
  "luminance": 0.35312
}

Semantic roles & 50–950 ramp

primary
#AC97CD
secondary
#E2E8D8
accent
#AE3880
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AC97CD

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

Preview Lab → · Contrast checker → · Palette generator →

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