#AC97FD#AC97FD

#AC97FD is a light, vivid violet. Relative luminance 0.380; OKLCH L 73.6% C 0.145 H 291.9°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#AC97FD
RGBrgb(172, 151, 253)
HSLhsl(252, 96%, 79%)
HSVhsv(252, 40%, 99%)
CMYKcmyk(32%, 40.3%, 0%, 0.8%)
CIE-LABlab(68.02, 29.87, -48.13)
CIE-LCHlch(68.02, 56.65, 301.82°)
OKLaboklab(73.61% 0.0542 -0.1349)
OKLCHoklch(73.61% 0.145 291.9)
XYZxyz(45.8049, 37.9948, 97.8299)
Luminance0.3800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC97FD #E8FD97
analogous
#97B5FD #AC97FD #DF97FD
triadic
#AC97FD #FDAC97 #97FDAC
tetradic
#AC97FD #FD97B5 #E8FD97 #97FDDF
square
#AC97FD #FD97B5 #E8FD97 #97FDDF
split-complementary
#AC97FD #FDDF97 #B5FD97
monochromatic
#4C1FFB #7C5BFC #AC97FD #DCD3FE #E7E1FE

Accessibility & contrast

On white

2.44
#AC97FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#AC97FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC97FD
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC97FD#FFFFFF#000000##000000
##AC97FD1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A7FF
Deuteranopia (green-blind)
#7AA4FA
Tritanopia (blue-blind)
#99AABE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ac97fd;
/* rgb */ color: rgb(172, 151, 253);
/* oklch */ color: oklch(73.6% 0.145 291.9);
Tailwind
colors: {
  custom: {
    50: '#c7b5fe',
    500: '#ac97fd',
    950: '#000000',
  },
}
SCSS
$custom: #ac97fd;
$custom-light: #c7b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac97fd",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 252.353,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.7361,
    "c": 0.14539,
    "h": 291.9
  },
  "luminance": 0.37996
}

Semantic roles & 50–950 ramp

primary
#AC97FD
secondary
#F0F7D4
accent
#E600B6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AC97FD

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

Preview Lab → · Contrast checker → · Palette generator →

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