#AE97FE#AE97FE

#AE97FE is a light, vivid violet. Relative luminance 0.383; OKLCH L 73.8% C 0.147 H 292.7°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#AE97FE
RGBrgb(174, 151, 254)
HSLhsl(253, 98%, 79%)
HSVhsv(253, 41%, 100%)
CMYKcmyk(31.5%, 40.6%, 0%, 0.4%)
CIE-LABlab(68.23, 30.65, -48.33)
CIE-LCHlch(68.23, 57.23, 302.38°)
OKLaboklab(73.83% 0.0567 -0.1354)
OKLCHoklch(73.83% 0.147 292.7)
XYZxyz(46.4070, 38.2868, 98.6918)
Luminance0.3829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE97FE #E7FE97
analogous
#97B4FE #AE97FE #E297FE
triadic
#AE97FE #FEAE97 #97FEAE
tetradic
#AE97FE #FE97B4 #E7FE97 #97FEE2
square
#AE97FE #FE97B4 #E7FE97 #97FEE2
split-complementary
#AE97FE #FEE297 #B4FE97
monochromatic
#501EFD #7F5AFD #AE97FE #DDD4FF #E7E1FF

Accessibility & contrast

On white

2.43
#AE97FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#AE97FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE97FE
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE97FE#FFFFFF#000000##000000
##AE97FE1.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#7AA4FB
Tritanopia (blue-blind)
#9CAABE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ae97fe;
/* rgb */ color: rgb(174, 151, 254);
/* oklch */ color: oklch(73.8% 0.147 292.7);
Tailwind
colors: {
  custom: {
    50: '#c9b5ff',
    500: '#ae97fe',
    950: '#000000',
  },
}
SCSS
$custom: #ae97fe;
$custom-light: #c9b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ae97fe",
  "rgb": {
    "r": 174,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 253.398,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.73828,
    "c": 0.14682,
    "h": 292.7
  },
  "luminance": 0.38288
}

Semantic roles & 50–950 ramp

primary
#AE97FE
secondary
#EFF7D4
accent
#E600B2
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AE97FE

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

Preview Lab → · Contrast checker → · Palette generator →

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