#AE97FC#AE97FC

#AE97FC is a light, vivid violet. Relative luminance 0.382; OKLCH L 73.7% C 0.144 H 293.0°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#AE97FC
RGBrgb(174, 151, 252)
HSLhsl(254, 94%, 79%)
HSVhsv(254, 40%, 99%)
CMYKcmyk(31%, 40.1%, 0%, 1.2%)
CIE-LABlab(68.14, 30.15, -47.39)
CIE-LCHlch(68.14, 56.17, 302.47°)
OKLaboklab(73.73% 0.0563 -0.1327)
OKLCHoklch(73.73% 0.144 293)
XYZxyz(46.0884, 38.1593, 97.0139)
Luminance0.3816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE97FC #E5FC97
analogous
#97B3FC #AE97FC #E197FC
triadic
#AE97FC #FCAE97 #97FCAE
tetradic
#AE97FC #FC97B3 #E5FC97 #97FCE1
square
#AE97FC #FC97B3 #E5FC97 #97FCE1
split-complementary
#AE97FC #FCE197 #B3FC97
monochromatic
#5120F9 #805CFA #AE97FC #DCD2FE #E8E1FE

Accessibility & contrast

On white

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

On black

8.63
#AE97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE97FC
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE97FC#FFFFFF#000000##000000
##AE97FC1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#7CA4F9
Tritanopia (blue-blind)
#9CA9BD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ae97fc;
/* rgb */ color: rgb(174, 151, 252);
/* oklch */ color: oklch(73.7% 0.144 293.0);
Tailwind
colors: {
  custom: {
    50: '#c8b5fe',
    500: '#ae97fc',
    950: '#000000',
  },
}
SCSS
$custom: #ae97fc;
$custom-light: #c8b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ae97fc",
  "rgb": {
    "r": 174,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 253.663,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.73727,
    "c": 0.14415,
    "h": 293
  },
  "luminance": 0.3816
}

Semantic roles & 50–950 ramp

primary
#AE97FC
secondary
#EFF6D5
accent
#E600B1
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AE97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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