#AE97EB#AE97EB

#AE97EB is a light, vivid violet. Relative luminance 0.371; OKLCH L 72.9% C 0.121 H 295.8°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#AE97EB
RGBrgb(174, 151, 235)
HSLhsl(256, 68%, 76%)
HSVhsv(256, 36%, 92%)
CMYKcmyk(26%, 35.7%, 0%, 7.8%)
CIE-LABlab(67.37, 25.99, -39.28)
CIE-LCHlch(67.37, 47.10, 303.49°)
OKLaboklab(72.9% 0.0529 -0.1092)
OKLCHoklch(72.9% 0.121 295.8)
XYZxyz(43.5140, 37.1296, 83.4554)
Luminance0.3713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE97EB #D4EB97
analogous
#97AAEB #AE97EB #D897EB
triadic
#AE97EB #EBAE97 #97EBAE
tetradic
#AE97EB #EB97AA #D4EB97 #97EBD8
square
#AE97EB #EB97AA #D4EB97 #97EBD8
split-complementary
#AE97EB #EBD897 #AAEB97
monochromatic
#5E30D7 #8664E1 #AE97EB #D6CAF5 #EBE5FA

Accessibility & contrast

On white

2.49
#AE97EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#AE97EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE97EB
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE97EB#FFFFFF#000000##000000
##AE97EB1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5EE
Deuteranopia (green-blind)
#84A3E9
Tritanopia (blue-blind)
#A2A5B6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ae97eb;
/* rgb */ color: rgb(174, 151, 235);
/* oklch */ color: oklch(72.9% 0.121 295.8);
Tailwind
colors: {
  custom: {
    50: '#c7b5f1',
    500: '#ae97eb',
    950: '#000000',
  },
}
SCSS
$custom: #ae97eb;
$custom-light: #c7b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae97eb",
  "rgb": {
    "r": 174,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 256.429,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72895,
    "c": 0.12138,
    "h": 295.8
  },
  "luminance": 0.3713
}

Semantic roles & 50–950 ramp

primary
#AE97EB
secondary
#EBF2D9
accent
#D0169D
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AE97EB

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

Preview Lab → · Contrast checker → · Palette generator →

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