#AE97DB#AE97DB

#AE97DB is a light, moderate violet. Relative luminance 0.362; OKLCH L 72.2% C 0.100 H 299.4°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#AE97DB
RGBrgb(174, 151, 219)
HSLhsl(260, 49%, 73%)
HSVhsv(260, 31%, 86%)
CMYKcmyk(20.5%, 31.1%, 0%, 14.1%)
CIE-LABlab(66.71, 22.23, -31.50)
CIE-LCHlch(66.71, 38.55, 305.21°)
OKLaboklab(72.17% 0.049 -0.0869)
OKLCHoklch(72.17% 0.1 299.4)
XYZxyz(41.3056, 36.2462, 71.8242)
Luminance0.3625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE97DB #C4DB97
analogous
#97A2DB #AE97DB #D097DB
triadic
#AE97DB #DBAE97 #97DBAE
tetradic
#AE97DB #DB97A2 #C4DB97 #97DBD0
square
#AE97DB #DB97A2 #C4DB97 #97DBD0
split-complementary
#AE97DB #DBD097 #A2DB97
monochromatic
#6840B8 #8B6ACB #AE97DB #D1C4EB #EDE8F7

Accessibility & contrast

On white

2.55
#AE97DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#AE97DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE97DB
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE97DB#FFFFFF#000000##000000
##AE97DB1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A2DE
Deuteranopia (green-blind)
#8CA2D9
Tritanopia (blue-blind)
#A6A2AF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ae97db;
/* rgb */ color: rgb(174, 151, 219);
/* oklch */ color: oklch(72.2% 0.100 299.4);
Tailwind
colors: {
  custom: {
    50: '#c7b5e6',
    500: '#ae97db',
    950: '#000000',
  },
}
SCSS
$custom: #ae97db;
$custom-light: #c7b5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae97db",
  "rgb": {
    "r": 174,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 260.294,
    "s": 48.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72166,
    "c": 0.0998,
    "h": 299.4
  },
  "luminance": 0.36246
}

Semantic roles & 50–950 ramp

primary
#AE97DB
secondary
#E8EEDD
accent
#BC2A8A
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AE97DB

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

Preview Lab → · Contrast checker → · Palette generator →

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