#AE97CC#AE97CC

#AE97CC is a light, moderate violet. Relative luminance 0.355; OKLCH L 71.5% C 0.080 H 304.3°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#AE97CC
RGBrgb(174, 151, 204)
HSLhsl(266, 34%, 70%)
HSVhsv(266, 26%, 80%)
CMYKcmyk(14.7%, 26%, 0%, 20%)
CIE-LABlab(66.13, 18.86, -24.07)
CIE-LCHlch(66.13, 30.58, 308.09°)
OKLaboklab(71.53% 0.0449 -0.0658)
OKLCHoklch(71.53% 0.08 304.3)
XYZxyz(39.4191, 35.4916, 61.8889)
Luminance0.3549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE97CC #B5CC97
analogous
#979ACC #AE97CC #C997CC
triadic
#AE97CC #CCAE97 #97CCAE
tetradic
#AE97CC #CC979A #B5CC97 #97CCC9
square
#AE97CC #CC979A #B5CC97 #97CCC9
split-complementary
#AE97CC #CCC997 #9ACC97
monochromatic
#6F4D9C #8E6EB8 #AE97CC #CEC0E0 #EEE9F4

Accessibility & contrast

On white

2.59
#AE97CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#AE97CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE97CC
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE97CC#FFFFFF#000000##000000
##AE97CC1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CE
Deuteranopia (green-blind)
#91A1CA
Tritanopia (blue-blind)
#AA9EAA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ae97cc;
/* rgb */ color: rgb(174, 151, 204);
/* oklch */ color: oklch(71.5% 0.080 304.3);
Tailwind
colors: {
  custom: {
    50: '#c6b5db',
    500: '#ae97cc',
    950: '#000000',
  },
}
SCSS
$custom: #ae97cc;
$custom-light: #c6b5db;
$custom-dark: #000000;
JSON
{
  "hex": "#ae97cc",
  "rgb": {
    "r": 174,
    "g": 151,
    "b": 204
  },
  "hsl": {
    "h": 266.038,
    "s": 34.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71532,
    "c": 0.07965,
    "h": 304.3
  },
  "luminance": 0.35492
}

Semantic roles & 50–950 ramp

primary
#AE97CC
secondary
#E0E7D8
accent
#AD387A
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AE97CC

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

Preview Lab → · Contrast checker → · Palette generator →

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