#AE97CB#AE97CB

#AE97CB is a light, moderate violet. Relative luminance 0.354; OKLCH L 71.5% C 0.078 H 304.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#AE97CB
RGBrgb(174, 151, 203)
HSLhsl(267, 33%, 69%)
HSVhsv(267, 26%, 80%)
CMYKcmyk(14.3%, 25.6%, 0%, 20.4%)
CIE-LABlab(66.09, 18.65, -23.57)
CIE-LCHlch(66.09, 30.05, 308.35°)
OKLaboklab(71.49% 0.0446 -0.0644)
OKLCHoklch(71.49% 0.078 304.7)
XYZxyz(39.2996, 35.4438, 61.2593)
Luminance0.3544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE97CB #B4CB97
analogous
#979ACB #AE97CB #C897CB
triadic
#AE97CB #CBAE97 #97CBAE
tetradic
#AE97CB #CB979A #B4CB97 #97CBC8
square
#AE97CB #CB979A #B4CB97 #97CBC8
split-complementary
#AE97CB #CBC897 #9ACB97
monochromatic
#6F4D9A #8E6EB7 #AE97CB #CEC0DF #EEE9F4

Accessibility & contrast

On white

2.60
#AE97CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#AE97CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE97CB
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE97CB#FFFFFF#000000##000000
##AE97CB1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CD
Deuteranopia (green-blind)
#92A1C9
Tritanopia (blue-blind)
#AA9EA9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ae97cb;
/* rgb */ color: rgb(174, 151, 203);
/* oklch */ color: oklch(71.5% 0.078 304.7);
Tailwind
colors: {
  custom: {
    50: '#c6b5db',
    500: '#ae97cb',
    950: '#000000',
  },
}
SCSS
$custom: #ae97cb;
$custom-light: #c6b5db;
$custom-dark: #000000;
JSON
{
  "hex": "#ae97cb",
  "rgb": {
    "r": 174,
    "g": 151,
    "b": 203
  },
  "hsl": {
    "h": 266.538,
    "s": 33.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71491,
    "c": 0.07832,
    "h": 304.7
  },
  "luminance": 0.35444
}

Semantic roles & 50–950 ramp

primary
#AE97CB
secondary
#E0E6D7
accent
#AC3979
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131115
muted
#828083

Preview Lab

Preview with #AE97CB

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

Preview Lab → · Contrast checker → · Palette generator →

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