#AE97EF#AE97EF

#AE97EF is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.1% C 0.127 H 295.1°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#AE97EF
RGBrgb(174, 151, 239)
HSLhsl(256, 73%, 76%)
HSVhsv(256, 37%, 94%)
CMYKcmyk(27.2%, 36.8%, 0%, 6.3%)
CIE-LABlab(67.55, 26.95, -41.21)
CIE-LCHlch(67.55, 49.24, 303.19°)
OKLaboklab(73.09% 0.0538 -0.1148)
OKLCHoklch(73.09% 0.127 295.1)
XYZxyz(44.0984, 37.3633, 86.5331)
Luminance0.3736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE97EF #D8EF97
analogous
#97ACEF #AE97EF #DA97EF
triadic
#AE97EF #EFAE97 #97EFAE
tetradic
#AE97EF #EF97AC #D8EF97 #97EFDA
square
#AE97EF #EF97AC #D8EF97 #97EFDA
split-complementary
#AE97EF #EFDA97 #ACEF97
monochromatic
#5B2DDF #8562E7 #AE97EF #D7CCF7 #EAE4FB

Accessibility & contrast

On white

2.48
#AE97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#AE97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE97EF
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE97EF#FFFFFF#000000##000000
##AE97EF1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F2
Deuteranopia (green-blind)
#82A3ED
Tritanopia (blue-blind)
#A0A6B8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ae97ef;
/* rgb */ color: rgb(174, 151, 239);
/* oklch */ color: oklch(73.1% 0.127 295.1);
Tailwind
colors: {
  custom: {
    50: '#c8b5f4',
    500: '#ae97ef',
    950: '#000000',
  },
}
SCSS
$custom: #ae97ef;
$custom-light: #c8b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae97ef",
  "rgb": {
    "r": 174,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 255.682,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73086,
    "c": 0.12677,
    "h": 295.1
  },
  "luminance": 0.37364
}

Semantic roles & 50–950 ramp

primary
#AE97EF
secondary
#ECF3D8
accent
#D510A2
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AE97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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