#AC97F9#AC97F9

#AC97F9 is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.4% C 0.140 H 292.5°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#AC97F9
RGBrgb(172, 151, 249)
HSLhsl(253, 89%, 78%)
HSVhsv(253, 39%, 98%)
CMYKcmyk(30.9%, 39.4%, 0%, 2.4%)
CIE-LABlab(67.83, 28.86, -46.25)
CIE-LCHlch(67.83, 54.51, 301.97°)
OKLaboklab(73.41% 0.0535 -0.1294)
OKLCHoklch(73.41% 0.14 292.5)
XYZxyz(45.1744, 37.7426, 94.5092)
Luminance0.3774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC97F9 #E4F997
analogous
#97B3F9 #AC97F9 #DD97F9
triadic
#AC97F9 #F9AC97 #97F9AC
tetradic
#AC97F9 #F997B3 #E4F997 #97F9DD
square
#AC97F9 #F997B3 #E4F997 #97F9DD
split-complementary
#AC97F9 #F9DD97 #B3F997
monochromatic
#5023F2 #7E5DF6 #AC97F9 #DAD1FC #E8E2FD

Accessibility & contrast

On white

2.46
#AC97F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#AC97F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC97F9
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC97F9#FFFFFF#000000##000000
##AC97F91.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FD
Deuteranopia (green-blind)
#7CA3F7
Tritanopia (blue-blind)
#9AA9BC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ac97f9;
/* rgb */ color: rgb(172, 151, 249);
/* oklch */ color: oklch(73.4% 0.140 292.5);
Tailwind
colors: {
  custom: {
    50: '#c7b5fb',
    500: '#ac97f9',
    950: '#000000',
  },
}
SCSS
$custom: #ac97f9;
$custom-light: #c7b5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac97f9",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 249
  },
  "hsl": {
    "h": 252.857,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.73407,
    "c": 0.14004,
    "h": 292.5
  },
  "luminance": 0.37743
}

Semantic roles & 50–950 ramp

primary
#AC97F9
secondary
#EFF5D6
accent
#E600B4
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AC97F9

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

Preview Lab → · Contrast checker → · Palette generator →

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