#AC97EF#AC97EF

#AC97EF is a light, vivid violet. Relative luminance 0.371; OKLCH L 72.9% C 0.127 H 294.0°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#AC97EF
RGBrgb(172, 151, 239)
HSLhsl(254, 73%, 76%)
HSVhsv(254, 37%, 94%)
CMYKcmyk(28%, 36.8%, 0%, 6.3%)
CIE-LABlab(67.38, 26.39, -41.48)
CIE-LCHlch(67.38, 49.17, 302.46°)
OKLaboklab(72.91% 0.0515 -0.1156)
OKLCHoklch(72.91% 0.127 294)
XYZxyz(43.6560, 37.1352, 86.5124)
Luminance0.3714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC97EF #DAEF97
analogous
#97AEEF #AC97EF #D897EF
triadic
#AC97EF #EFAC97 #97EFAC
tetradic
#AC97EF #EF97AE #DAEF97 #97EFD8
square
#AC97EF #EF97AE #DAEF97 #97EFD8
split-complementary
#AC97EF #EFD897 #AEEF97
monochromatic
#572DDF #8262E7 #AC97EF #D6CCF7 #EAE4FB

Accessibility & contrast

On white

2.49
#AC97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#AC97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC97EF
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC97EF#FFFFFF#000000##000000
##AC97EF1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F2
Deuteranopia (green-blind)
#81A3ED
Tritanopia (blue-blind)
#9EA6B8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ac97ef;
/* rgb */ color: rgb(172, 151, 239);
/* oklch */ color: oklch(72.9% 0.127 294.0);
Tailwind
colors: {
  custom: {
    50: '#c6b5f4',
    500: '#ac97ef',
    950: '#000000',
  },
}
SCSS
$custom: #ac97ef;
$custom-light: #c6b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac97ef",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 254.318,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72915,
    "c": 0.12658,
    "h": 294
  },
  "luminance": 0.37136
}

Semantic roles & 50–950 ramp

primary
#AC97EF
secondary
#ECF3D8
accent
#D510A6
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AC97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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