#AC97EA#AC97EA

#AC97EA is a light, moderate violet. Relative luminance 0.368; OKLCH L 72.7% C 0.120 H 294.9°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#AC97EA
RGBrgb(172, 151, 234)
HSLhsl(255, 66%, 75%)
HSVhsv(255, 35%, 92%)
CMYKcmyk(26.5%, 35.5%, 0%, 8.2%)
CIE-LABlab(67.16, 25.17, -39.08)
CIE-LCHlch(67.16, 46.49, 302.79°)
OKLaboklab(72.68% 0.0504 -0.1087)
OKLCHoklch(72.68% 0.12 294.9)
XYZxyz(42.9276, 36.8439, 82.6759)
Luminance0.3684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC97EA #D5EA97
analogous
#97ABEA #AC97EA #D697EA
triadic
#AC97EA #EAAC97 #97EAAC
tetradic
#AC97EA #EA97AB #D5EA97 #97EAD6
square
#AC97EA #EA97AB #D5EA97 #97EAD6
split-complementary
#AC97EA #EAD697 #ABEA97
monochromatic
#5B31D5 #8364E0 #AC97EA #D5CAF4 #EBE6FA

Accessibility & contrast

On white

2.51
#AC97EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#AC97EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC97EA
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC97EA#FFFFFF#000000##000000
##AC97EA1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A4ED
Deuteranopia (green-blind)
#84A2E8
Tritanopia (blue-blind)
#9FA5B6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ac97ea;
/* rgb */ color: rgb(172, 151, 234);
/* oklch */ color: oklch(72.7% 0.120 294.9);
Tailwind
colors: {
  custom: {
    50: '#c6b5f1',
    500: '#ac97ea',
    950: '#000000',
  },
}
SCSS
$custom: #ac97ea;
$custom-light: #c6b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac97ea",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 255.181,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72676,
    "c": 0.11982,
    "h": 294.9
  },
  "luminance": 0.36844
}

Semantic roles & 50–950 ramp

primary
#AC97EA
secondary
#EBF1DA
accent
#CE17A0
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AC97EA

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

Preview Lab → · Contrast checker → · Palette generator →

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