#AE97F7#AE97F7

#AE97F7 is a light, vivid violet. Relative luminance 0.378; OKLCH L 73.5% C 0.137 H 293.8°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#AE97F7
RGBrgb(174, 151, 247)
HSLhsl(254, 86%, 78%)
HSVhsv(254, 39%, 97%)
CMYKcmyk(29.6%, 38.9%, 0%, 3.1%)
CIE-LABlab(67.91, 28.91, -45.02)
CIE-LCHlch(67.91, 53.50, 302.71°)
OKLaboklab(73.48% 0.0554 -0.1258)
OKLCHoklch(73.48% 0.137 293.8)
XYZxyz(45.3065, 37.8466, 92.8958)
Luminance0.3785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE97F7 #E0F797
analogous
#97B0F7 #AE97F7 #DE97F7
triadic
#AE97F7 #F7AE97 #97F7AE
tetradic
#AE97F7 #F797B0 #E0F797 #97F7DE
square
#AE97F7 #F797B0 #E0F797 #97F7DE
split-complementary
#AE97F7 #F7DE97 #B0F797
monochromatic
#5525EE #825EF3 #AE97F7 #DAD0FB #E9E3FD

Accessibility & contrast

On white

2.45
#AE97F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#AE97F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE97F7
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE97F7#FFFFFF#000000##000000
##AE97F71.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FB
Deuteranopia (green-blind)
#7EA4F5
Tritanopia (blue-blind)
#9EA8BB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ae97f7;
/* rgb */ color: rgb(174, 151, 247);
/* oklch */ color: oklch(73.5% 0.137 293.8);
Tailwind
colors: {
  custom: {
    50: '#c8b5fa',
    500: '#ae97f7',
    950: '#000000',
  },
}
SCSS
$custom: #ae97f7;
$custom-light: #c8b5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ae97f7",
  "rgb": {
    "r": 174,
    "g": 151,
    "b": 247
  },
  "hsl": {
    "h": 254.375,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.73476,
    "c": 0.13749,
    "h": 293.8
  },
  "luminance": 0.37847
}

Semantic roles & 50–950 ramp

primary
#AE97F7
secondary
#EDF5D6
accent
#E203AD
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AE97F7

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

Preview Lab → · Contrast checker → · Palette generator →

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