#AC97F2#AC97F2

#AC97F2 is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.1% C 0.131 H 293.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#AC97F2
RGBrgb(172, 151, 242)
HSLhsl(254, 78%, 77%)
HSVhsv(254, 38%, 95%)
CMYKcmyk(28.9%, 37.6%, 0%, 5.1%)
CIE-LABlab(67.51, 27.13, -42.92)
CIE-LCHlch(67.51, 50.77, 302.29°)
OKLaboklab(73.06% 0.0521 -0.1198)
OKLCHoklch(73.06% 0.131 293.5)
XYZxyz(44.1029, 37.3140, 88.8659)
Luminance0.3731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC97F2 #DDF297
analogous
#97B0F2 #AC97F2 #DA97F2
triadic
#AC97F2 #F2AC97 #97F2AC
tetradic
#AC97F2 #F297B0 #DDF297 #97F2DA
square
#AC97F2 #F297B0 #DDF297 #97F2DA
split-complementary
#AC97F2 #F2DA97 #B0F297
monochromatic
#552AE4 #8161EB #AC97F2 #D7CDF9 #E9E4FC

Accessibility & contrast

On white

2.48
#AC97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#AC97F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC97F2
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC97F2#FFFFFF#000000##000000
##AC97F21.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA5F6
Deuteranopia (green-blind)
#80A3F0
Tritanopia (blue-blind)
#9DA7B9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ac97f2;
/* rgb */ color: rgb(172, 151, 242);
/* oklch */ color: oklch(73.1% 0.131 293.5);
Tailwind
colors: {
  custom: {
    50: '#c6b5f6',
    500: '#ac97f2',
    950: '#000000',
  },
}
SCSS
$custom: #ac97f2;
$custom-light: #c6b5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac97f2",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 253.846,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7306,
    "c": 0.13063,
    "h": 293.5
  },
  "luminance": 0.37315
}

Semantic roles & 50–950 ramp

primary
#AC97F2
secondary
#EDF3D8
accent
#DA0BAA
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #AC97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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