#AE97FD#AE97FD

#AE97FD is a light, vivid violet. Relative luminance 0.382; OKLCH L 73.8% C 0.145 H 292.8°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#AE97FD
RGBrgb(174, 151, 253)
HSLhsl(254, 96%, 79%)
HSVhsv(254, 40%, 99%)
CMYKcmyk(31.2%, 40.3%, 0%, 0.8%)
CIE-LABlab(68.18, 30.40, -47.86)
CIE-LCHlch(68.18, 56.70, 302.43°)
OKLaboklab(73.78% 0.0565 -0.1341)
OKLCHoklch(73.78% 0.145 292.8)
XYZxyz(46.2473, 38.2229, 97.8506)
Luminance0.3822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE97FD #E6FD97
analogous
#97B3FD #AE97FD #E197FD
triadic
#AE97FD #FDAE97 #97FDAE
tetradic
#AE97FD #FD97B3 #E6FD97 #97FDE1
square
#AE97FD #FD97B3 #E6FD97 #97FDE1
split-complementary
#AE97FD #FDE197 #B3FD97
monochromatic
#501FFB #7F5BFC #AE97FD #DDD3FE #E8E1FE

Accessibility & contrast

On white

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

On black

8.64
#AE97FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE97FD
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE97FD#FFFFFF#000000##000000
##AE97FD1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ae97fd;
/* rgb */ color: rgb(174, 151, 253);
/* oklch */ color: oklch(73.8% 0.145 292.8);
Tailwind
colors: {
  custom: {
    50: '#c8b5fe',
    500: '#ae97fd',
    950: '#000000',
  },
}
SCSS
$custom: #ae97fd;
$custom-light: #c8b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ae97fd",
  "rgb": {
    "r": 174,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 253.529,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.73778,
    "c": 0.14548,
    "h": 292.8
  },
  "luminance": 0.38224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE97FD

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

Preview Lab → · Contrast checker → · Palette generator →

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