#AE98DF#AE98DF

#AE98DF is a light, moderate violet. Relative luminance 0.368; OKLCH L 72.5% C 0.104 H 298.0°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#AE98DF
RGBrgb(174, 152, 223)
HSLhsl(259, 53%, 74%)
HSVhsv(259, 32%, 87%)
CMYKcmyk(22%, 31.8%, 0%, 12.5%)
CIE-LABlab(67.11, 22.59, -33.08)
CIE-LCHlch(67.11, 40.06, 304.33°)
OKLaboklab(72.53% 0.0487 -0.0914)
OKLCHoklch(72.53% 0.104 298)
XYZxyz(42.0001, 36.7826, 74.6848)
Luminance0.3678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE98DF #C9DF98
analogous
#98A5DF #AE98DF #D198DF
triadic
#AE98DF #DFAE98 #98DFAE
tetradic
#AE98DF #DF98A5 #C9DF98 #98DFD1
square
#AE98DF #DF98A5 #C9DF98 #98DFD1
split-complementary
#AE98DF #DFD198 #A5DF98
monochromatic
#653CC1 #8969D0 #AE98DF #D3C7EE #EDE8F8

Accessibility & contrast

On white

2.51
#AE98DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#AE98DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE98DF
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE98DF#FFFFFF#000000##000000
##AE98DF1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A3E2
Deuteranopia (green-blind)
#8BA3DD
Tritanopia (blue-blind)
#A5A3B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ae98df;
/* rgb */ color: rgb(174, 152, 223);
/* oklch */ color: oklch(72.5% 0.104 298.0);
Tailwind
colors: {
  custom: {
    50: '#c7b6e9',
    500: '#ae98df',
    950: '#000000',
  },
}
SCSS
$custom: #ae98df;
$custom-light: #c7b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae98df",
  "rgb": {
    "r": 174,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 258.592,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72531,
    "c": 0.10358,
    "h": 298
  },
  "luminance": 0.36783
}

Semantic roles & 50–950 ramp

primary
#AE98DF
secondary
#E9EFDC
accent
#C02590
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AE98DF

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

Preview Lab → · Contrast checker → · Palette generator →

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