#AE97FA#AE97FA

#AE97FA is a light, vivid violet. Relative luminance 0.380; OKLCH L 73.6% C 0.141 H 293.3°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#AE97FA
RGBrgb(174, 151, 250)
HSLhsl(254, 91%, 79%)
HSVhsv(254, 40%, 98%)
CMYKcmyk(30.4%, 39.6%, 0%, 2%)
CIE-LABlab(68.05, 29.65, -46.44)
CIE-LCHlch(68.05, 55.10, 302.56°)
OKLaboklab(73.63% 0.056 -0.13)
OKLCHoklch(73.63% 0.141 293.3)
XYZxyz(45.7732, 38.0332, 95.3535)
Luminance0.3803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE97FA #E3FA97
analogous
#97B1FA #AE97FA #DF97FA
triadic
#AE97FA #FAAE97 #97FAAE
tetradic
#AE97FA #FA97B1 #E3FA97 #97FADF
square
#AE97FA #FA97B1 #E3FA97 #97FADF
split-complementary
#AE97FA #FADF97 #B1FA97
monochromatic
#5322F4 #815DF7 #AE97FA #DBD1FD #E8E2FE

Accessibility & contrast

On white

2.44
#AE97FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#AE97FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE97FA
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE97FA#FFFFFF#000000##000000
##AE97FA1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FE
Deuteranopia (green-blind)
#7DA4F8
Tritanopia (blue-blind)
#9DA9BD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ae97fa;
/* rgb */ color: rgb(174, 151, 250);
/* oklch */ color: oklch(73.6% 0.141 293.3);
Tailwind
colors: {
  custom: {
    50: '#c8b5fc',
    500: '#ae97fa',
    950: '#000000',
  },
}
SCSS
$custom: #ae97fa;
$custom-light: #c8b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ae97fa",
  "rgb": {
    "r": 174,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 253.939,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.73626,
    "c": 0.14149,
    "h": 293.3
  },
  "luminance": 0.38034
}

Semantic roles & 50–950 ramp

primary
#AE97FA
secondary
#EEF6D5
accent
#E600B0
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AE97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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