#AC97FE#AC97FE

#AC97FE is a light, vivid violet. Relative luminance 0.381; OKLCH L 73.7% C 0.147 H 291.8°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#AC97FE
RGBrgb(172, 151, 254)
HSLhsl(252, 98%, 79%)
HSVhsv(252, 41%, 100%)
CMYKcmyk(32.3%, 40.6%, 0%, 0.4%)
CIE-LABlab(68.06, 30.12, -48.60)
CIE-LCHlch(68.06, 57.18, 301.79°)
OKLaboklab(73.66% 0.0544 -0.1363)
OKLCHoklch(73.66% 0.147 291.8)
XYZxyz(45.9647, 38.0587, 98.6711)
Luminance0.3806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC97FE #E9FE97
analogous
#97B6FE #AC97FE #E097FE
triadic
#AC97FE #FEAC97 #97FEAC
tetradic
#AC97FE #FE97B6 #E9FE97 #97FEE0
square
#AC97FE #FE97B6 #E9FE97 #97FEE0
split-complementary
#AC97FE #FEE097 #B6FE97
monochromatic
#4B1EFD #7C5AFD #AC97FE #DCD4FF #E7E1FF

Accessibility & contrast

On white

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

On black

8.61
#AC97FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC97FE
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC97FE#FFFFFF#000000##000000
##AC97FE1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#79A4FB
Tritanopia (blue-blind)
#99AABE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ac97fe;
/* rgb */ color: rgb(172, 151, 254);
/* oklch */ color: oklch(73.7% 0.147 291.8);
Tailwind
colors: {
  custom: {
    50: '#c7b5ff',
    500: '#ac97fe',
    950: '#000000',
  },
}
SCSS
$custom: #ac97fe;
$custom-light: #c7b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac97fe",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 252.233,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.73661,
    "c": 0.14673,
    "h": 291.8
  },
  "luminance": 0.3806
}

Semantic roles & 50–950 ramp

primary
#AC97FE
secondary
#F0F7D4
accent
#E600B7
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AC97FE

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

Preview Lab → · Contrast checker → · Palette generator →

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