#AE97EA#AE97EA

#AE97EA is a light, vivid violet. Relative luminance 0.371; OKLCH L 72.8% C 0.120 H 296.0°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#AE97EA
RGBrgb(174, 151, 234)
HSLhsl(257, 66%, 75%)
HSVhsv(257, 35%, 92%)
CMYKcmyk(25.6%, 35.5%, 0%, 8.2%)
CIE-LABlab(67.33, 25.75, -38.80)
CIE-LCHlch(67.33, 46.57, 303.57°)
OKLaboklab(72.85% 0.0527 -0.1079)
OKLCHoklch(72.85% 0.12 296)
XYZxyz(43.3700, 37.0720, 82.6966)
Luminance0.3707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE97EA #D3EA97
analogous
#97A9EA #AE97EA #D897EA
triadic
#AE97EA #EAAE97 #97EAAE
tetradic
#AE97EA #EA97A9 #D3EA97 #97EAD8
square
#AE97EA #EA97A9 #D3EA97 #97EAD8
split-complementary
#AE97EA #EAD897 #A9EA97
monochromatic
#5F31D5 #8664E0 #AE97EA #D6CAF4 #EBE6FA

Accessibility & contrast

On white

2.50
#AE97EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#AE97EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE97EA
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE97EA#FFFFFF#000000##000000
##AE97EA1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A4ED
Deuteranopia (green-blind)
#85A3E8
Tritanopia (blue-blind)
#A2A5B6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ae97ea;
/* rgb */ color: rgb(174, 151, 234);
/* oklch */ color: oklch(72.8% 0.120 296.0);
Tailwind
colors: {
  custom: {
    50: '#c7b5f1',
    500: '#ae97ea',
    950: '#000000',
  },
}
SCSS
$custom: #ae97ea;
$custom-light: #c7b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae97ea",
  "rgb": {
    "r": 174,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 256.627,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72848,
    "c": 0.12004,
    "h": 296
  },
  "luminance": 0.37072
}

Semantic roles & 50–950 ramp

primary
#AE97EA
secondary
#EBF1DA
accent
#CE179C
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AE97EA

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

Preview Lab → · Contrast checker → · Palette generator →

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