#AE98EF#AE98EF

#AE98EF is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.3% C 0.125 H 294.7°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#AE98EF
RGBrgb(174, 152, 239)
HSLhsl(255, 73%, 77%)
HSVhsv(255, 36%, 94%)
CMYKcmyk(27.2%, 36.4%, 0%, 6.3%)
CIE-LABlab(67.79, 26.39, -40.83)
CIE-LCHlch(67.79, 48.62, 302.88°)
OKLaboklab(73.27% 0.0524 -0.1137)
OKLCHoklch(73.27% 0.125 294.7)
XYZxyz(44.2600, 37.6866, 86.5870)
Luminance0.3769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE98EF #D9EF98
analogous
#98AEEF #AE98EF #D998EF
triadic
#AE98EF #EFAE98 #98EFAE
tetradic
#AE98EF #EF98AE #D9EF98 #98EFD9
square
#AE98EF #EF98AE #D9EF98 #98EFD9
split-complementary
#AE98EF #EFD998 #AEEF98
monochromatic
#5B2EDF #8463E7 #AE98EF #D8CDF7 #EAE5FB

Accessibility & contrast

On white

2.46
#AE98EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#AE98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE98EF
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE98EF#FFFFFF#000000##000000
##AE98EF1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A6F2
Deuteranopia (green-blind)
#84A4ED
Tritanopia (blue-blind)
#A0A7B8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ae98ef;
/* rgb */ color: rgb(174, 152, 239);
/* oklch */ color: oklch(73.3% 0.125 294.7);
Tailwind
colors: {
  custom: {
    50: '#c8b6f4',
    500: '#ae98ef',
    950: '#000000',
  },
}
SCSS
$custom: #ae98ef;
$custom-light: #c8b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae98ef",
  "rgb": {
    "r": 174,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 255.172,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.73269,
    "c": 0.1252,
    "h": 294.7
  },
  "luminance": 0.37687
}

Semantic roles & 50–950 ramp

primary
#AE98EF
secondary
#ECF3D8
accent
#D510A3
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AE98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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