#AC97FB#AC97FB

#AC97FB is a light, vivid violet. Relative luminance 0.379; OKLCH L 73.5% C 0.143 H 292.2°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#AC97FB
RGBrgb(172, 151, 251)
HSLhsl(253, 93%, 79%)
HSVhsv(253, 40%, 98%)
CMYKcmyk(31.5%, 39.8%, 0%, 1.6%)
CIE-LABlab(67.92, 29.36, -47.19)
CIE-LCHlch(67.92, 55.58, 301.89°)
OKLaboklab(73.51% 0.0539 -0.1322)
OKLCHoklch(73.51% 0.143 292.2)
XYZxyz(45.4880, 37.8680, 96.1608)
Luminance0.3787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC97FB #E6FB97
analogous
#97B4FB #AC97FB #DE97FB
triadic
#AC97FB #FBAC97 #97FBAC
tetradic
#AC97FB #FB97B4 #E6FB97 #97FBDE
square
#AC97FB #FB97B4 #E6FB97 #97FBDE
split-complementary
#AC97FB #FBDE97 #B4FB97
monochromatic
#4E21F6 #7D5CF9 #AC97FB #DBD2FD #E7E2FE

Accessibility & contrast

On white

2.45
#AC97FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#AC97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC97FB
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC97FB#FFFFFF#000000##000000
##AC97FB1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#7BA4F9
Tritanopia (blue-blind)
#9AA9BD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ac97fb;
/* rgb */ color: rgb(172, 151, 251);
/* oklch */ color: oklch(73.5% 0.143 292.2);
Tailwind
colors: {
  custom: {
    50: '#c7b5fd',
    500: '#ac97fb',
    950: '#000000',
  },
}
SCSS
$custom: #ac97fb;
$custom-light: #c7b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac97fb",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 252.6,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.73508,
    "c": 0.14272,
    "h": 292.2
  },
  "luminance": 0.37869
}

Semantic roles & 50–950 ramp

primary
#AC97FB
secondary
#EFF6D5
accent
#E600B5
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AC97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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