#AC97FC#AC97FC

#AC97FC is a light, vivid violet. Relative luminance 0.379; OKLCH L 73.6% C 0.144 H 292.0°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#AC97FC
RGBrgb(172, 151, 252)
HSLhsl(252, 94%, 79%)
HSVhsv(252, 40%, 99%)
CMYKcmyk(31.7%, 40.1%, 0%, 1.2%)
CIE-LABlab(67.97, 29.61, -47.66)
CIE-LCHlch(67.97, 56.11, 301.85°)
OKLaboklab(73.56% 0.054 -0.1335)
OKLCHoklch(73.56% 0.144 292)
XYZxyz(45.6461, 37.9312, 96.9931)
Luminance0.3793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC97FC #E7FC97
analogous
#97B5FC #AC97FC #DF97FC
triadic
#AC97FC #FCAC97 #97FCAC
tetradic
#AC97FC #FC97B5 #E7FC97 #97FCDF
square
#AC97FC #FC97B5 #E7FC97 #97FCDF
split-complementary
#AC97FC #FCDF97 #B5FC97
monochromatic
#4D20F9 #7D5CFA #AC97FC #DBD2FE #E7E1FE

Accessibility & contrast

On white

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

On black

8.59
#AC97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC97FC
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC97FC#FFFFFF#000000##000000
##AC97FC1.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac97fc;
/* rgb */ color: rgb(172, 151, 252);
/* oklch */ color: oklch(73.6% 0.144 292.0);
Tailwind
colors: {
  custom: {
    50: '#c7b5fe',
    500: '#ac97fc',
    950: '#000000',
  },
}
SCSS
$custom: #ac97fc;
$custom-light: #c7b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac97fc",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 252.475,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.73559,
    "c": 0.14406,
    "h": 292
  },
  "luminance": 0.37932
}

Semantic roles & 50–950 ramp

primary
#AC97FC
secondary
#EFF6D5
accent
#E600B6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AC97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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