#AC97F5#AC97F5

#AC97F5 is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.2% C 0.135 H 293.0°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#AC97F5
RGBrgb(172, 151, 245)
HSLhsl(253, 82%, 78%)
HSVhsv(253, 38%, 96%)
CMYKcmyk(29.8%, 38.4%, 0%, 3.9%)
CIE-LABlab(67.65, 27.87, -44.35)
CIE-LCHlch(67.65, 52.38, 302.14°)
OKLaboklab(73.21% 0.0527 -0.1239)
OKLCHoklch(73.21% 0.135 293)
XYZxyz(44.5572, 37.4957, 91.2584)
Luminance0.3750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC97F5 #E0F597
analogous
#97B1F5 #AC97F5 #DB97F5
triadic
#AC97F5 #F5AC97 #97F5AC
tetradic
#AC97F5 #F597B1 #E0F597 #97F5DB
square
#AC97F5 #F597B1 #E0F597 #97F5DB
split-complementary
#AC97F5 #F5DB97 #B1F597
monochromatic
#5327EA #7F5FF0 #AC97F5 #D9CFFA #E9E3FC

Accessibility & contrast

On white

2.47
#AC97F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#AC97F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC97F5
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC97F5#FFFFFF#000000##000000
##AC97F51.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA6F9
Deuteranopia (green-blind)
#7EA3F3
Tritanopia (blue-blind)
#9CA8BA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ac97f5;
/* rgb */ color: rgb(172, 151, 245);
/* oklch */ color: oklch(73.2% 0.135 293.0);
Tailwind
colors: {
  custom: {
    50: '#c7b5f9',
    500: '#ac97f5',
    950: '#000000',
  },
}
SCSS
$custom: #ac97f5;
$custom-light: #c7b5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac97f5",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 245
  },
  "hsl": {
    "h": 253.404,
    "s": 82.456,
    "l": 77.647
  },
  "oklch": {
    "l": 0.73208,
    "c": 0.13467,
    "h": 293
  },
  "luminance": 0.37496
}

Semantic roles & 50–950 ramp

primary
#AC97F5
secondary
#EEF4D7
accent
#DF07AF
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AC97F5

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

Preview Lab → · Contrast checker → · Palette generator →

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