#AC97FA#AC97FA

#AC97FA is a light, vivid violet. Relative luminance 0.378; OKLCH L 73.5% C 0.141 H 292.3°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#AC97FA
RGBrgb(172, 151, 250)
HSLhsl(253, 91%, 79%)
HSVhsv(253, 40%, 98%)
CMYKcmyk(31.2%, 39.6%, 0%, 2%)
CIE-LABlab(67.88, 29.11, -46.72)
CIE-LCHlch(67.88, 55.05, 301.93°)
OKLaboklab(73.46% 0.0537 -0.1308)
OKLCHoklch(73.46% 0.141 292.3)
XYZxyz(45.3308, 37.8051, 95.3328)
Luminance0.3781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC97FA #E5FA97
analogous
#97B3FA #AC97FA #DD97FA
triadic
#AC97FA #FAAC97 #97FAAC
tetradic
#AC97FA #FA97B3 #E5FA97 #97FADD
square
#AC97FA #FA97B3 #E5FA97 #97FADD
split-complementary
#AC97FA #FADD97 #B3FA97
monochromatic
#4F22F4 #7D5DF7 #AC97FA #DBD1FD #E8E2FE

Accessibility & contrast

On white

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

On black

8.56
#AC97FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC97FA
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC97FA#FFFFFF#000000##000000
##AC97FA1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac97fa;
/* rgb */ color: rgb(172, 151, 250);
/* oklch */ color: oklch(73.5% 0.141 292.3);
Tailwind
colors: {
  custom: {
    50: '#c7b5fc',
    500: '#ac97fa',
    950: '#000000',
  },
}
SCSS
$custom: #ac97fa;
$custom-light: #c7b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac97fa",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 252.727,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.73457,
    "c": 0.14138,
    "h": 292.3
  },
  "luminance": 0.37806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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