#AC97FF#AC97FF

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

Color values

HEX#AC97FF
RGBrgb(172, 151, 255)
HSLhsl(252, 100%, 80%)
HSVhsv(252, 41%, 100%)
CMYKcmyk(32.5%, 40.8%, 0%, 0%)
CIE-LABlab(68.11, 30.37, -49.07)
CIE-LCHlch(68.11, 57.71, 301.75°)
OKLaboklab(73.71% 0.0546 -0.1376)
OKLCHoklch(73.71% 0.148 291.6)
XYZxyz(46.1252, 38.1229, 99.5166)
Luminance0.3812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC97FF #EAFF97
analogous
#97B6FF #AC97FF #E097FF
triadic
#AC97FF #FFAC97 #97FFAC
tetradic
#AC97FF #FF97B6 #EAFF97 #97FFE0
square
#AC97FF #FF97B6 #EAFF97 #97FFE0
split-complementary
#AC97FF #FFE097 #B6FF97
monochromatic
#4A1DFF #7B5AFF #AC97FF #DDD4FF #E7E0FF

Accessibility & contrast

On white

2.43
#AC97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#AC97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC97FF
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC97FF#FFFFFF#000000##000000
##AC97FF1.002.438.628.62
#FFFFFF2.431.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A8FF
Deuteranopia (green-blind)
#79A4FC
Tritanopia (blue-blind)
#98AABF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ac97ff;
/* rgb */ color: rgb(172, 151, 255);
/* oklch */ color: oklch(73.7% 0.148 291.6);
Tailwind
colors: {
  custom: {
    50: '#c7b5ff',
    500: '#ac97ff',
    950: '#000000',
  },
}
SCSS
$custom: #ac97ff;
$custom-light: #c7b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac97ff",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 252.115,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.73712,
    "c": 0.14807,
    "h": 291.6
  },
  "luminance": 0.38124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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