#AC97EB#AC97EB

#AC97EB is a light, vivid violet. Relative luminance 0.369; OKLCH L 72.7% C 0.121 H 294.7°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#AC97EB
RGBrgb(172, 151, 235)
HSLhsl(255, 68%, 76%)
HSVhsv(255, 36%, 92%)
CMYKcmyk(26.8%, 35.7%, 0%, 7.8%)
CIE-LABlab(67.20, 25.42, -39.56)
CIE-LCHlch(67.20, 47.02, 302.72°)
OKLaboklab(72.72% 0.0506 -0.1101)
OKLCHoklch(72.72% 0.121 294.7)
XYZxyz(43.0717, 36.9015, 83.4346)
Luminance0.3690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC97EB #D6EB97
analogous
#97ACEB #AC97EB #D697EB
triadic
#AC97EB #EBAC97 #97EBAC
tetradic
#AC97EB #EB97AC #D6EB97 #97EBD6
square
#AC97EB #EB97AC #D6EB97 #97EBD6
split-complementary
#AC97EB #EBD697 #ACEB97
monochromatic
#5A30D7 #8364E1 #AC97EB #D5CAF5 #EBE5FA

Accessibility & contrast

On white

2.51
#AC97EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#AC97EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC97EB
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC97EB#FFFFFF#000000##000000
##AC97EB1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A4EE
Deuteranopia (green-blind)
#83A2E9
Tritanopia (blue-blind)
#9FA5B6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ac97eb;
/* rgb */ color: rgb(172, 151, 235);
/* oklch */ color: oklch(72.7% 0.121 294.7);
Tailwind
colors: {
  custom: {
    50: '#c6b5f1',
    500: '#ac97eb',
    950: '#000000',
  },
}
SCSS
$custom: #ac97eb;
$custom-light: #c6b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac97eb",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 255,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72724,
    "c": 0.12118,
    "h": 294.7
  },
  "luminance": 0.36902
}

Semantic roles & 50–950 ramp

primary
#AC97EB
secondary
#ECF2D9
accent
#D016A1
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AC97EB

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

Preview Lab → · Contrast checker → · Palette generator →

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