#AC97E2#AC97E2

#AC97E2 is a light, moderate violet. Relative luminance 0.364; OKLCH L 72.3% C 0.109 H 296.4°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#AC97E2
RGBrgb(172, 151, 226)
HSLhsl(257, 56%, 74%)
HSVhsv(257, 33%, 89%)
CMYKcmyk(23.9%, 33.2%, 0%, 11.4%)
CIE-LABlab(66.82, 23.26, -35.21)
CIE-LCHlch(66.82, 42.20, 303.45°)
OKLaboklab(72.3% 0.0485 -0.0976)
OKLCHoklch(72.3% 0.109 296.4)
XYZxyz(41.8042, 36.3945, 76.7592)
Luminance0.3639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC97E2 #CDE297
analogous
#97A8E2 #AC97E2 #D297E2
triadic
#AC97E2 #E2AC97 #97E2AC
tetradic
#AC97E2 #E297A8 #CDE297 #97E2D2
square
#AC97E2 #E297A8 #CDE297 #97E2D2
split-complementary
#AC97E2 #E2D297 #A8E297
monochromatic
#6038C7 #8667D5 #AC97E2 #D2C7EF #ECE7F8

Accessibility & contrast

On white

2.54
#AC97E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#AC97E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC97E2
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC97E2#FFFFFF#000000##000000
##AC97E21.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A3E5
Deuteranopia (green-blind)
#88A2E0
Tritanopia (blue-blind)
#A1A3B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ac97e2;
/* rgb */ color: rgb(172, 151, 226);
/* oklch */ color: oklch(72.3% 0.109 296.4);
Tailwind
colors: {
  custom: {
    50: '#c6b5eb',
    500: '#ac97e2',
    950: '#000000',
  },
}
SCSS
$custom: #ac97e2;
$custom-light: #c6b5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac97e2",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 226
  },
  "hsl": {
    "h": 256.8,
    "s": 56.391,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72305,
    "c": 0.10896,
    "h": 296.4
  },
  "luminance": 0.36395
}

Semantic roles & 50–950 ramp

primary
#AC97E2
secondary
#EAF0DB
accent
#C42296
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AC97E2

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

Preview Lab → · Contrast checker → · Palette generator →

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