#AE98DB#AE98DB

#AE98DB is a light, moderate violet. Relative luminance 0.366; OKLCH L 72.4% C 0.098 H 299.0°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#AE98DB
RGBrgb(174, 152, 219)
HSLhsl(260, 48%, 73%)
HSVhsv(260, 31%, 86%)
CMYKcmyk(20.5%, 30.6%, 0%, 14.1%)
CIE-LABlab(66.95, 21.67, -31.12)
CIE-LCHlch(66.95, 37.92, 304.84°)
OKLaboklab(72.35% 0.0476 -0.0858)
OKLCHoklch(72.35% 0.098 299)
XYZxyz(41.4672, 36.5694, 71.8781)
Luminance0.3657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE98DB #C5DB98
analogous
#98A4DB #AE98DB #CF98DB
triadic
#AE98DB #DBAE98 #98DBAE
tetradic
#AE98DB #DB98A4 #C5DB98 #98DBCF
square
#AE98DB #DB98A4 #C5DB98 #98DBCF
split-complementary
#AE98DB #DBCF98 #A4DB98
monochromatic
#6840B8 #8A6BCB #AE98DB #D2C5EB #EDE8F7

Accessibility & contrast

On white

2.53
#AE98DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#AE98DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE98DB
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE98DB#FFFFFF#000000##000000
##AE98DB1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A3DE
Deuteranopia (green-blind)
#8CA2D9
Tritanopia (blue-blind)
#A6A2B0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ae98db;
/* rgb */ color: rgb(174, 152, 219);
/* oklch */ color: oklch(72.4% 0.098 299.0);
Tailwind
colors: {
  custom: {
    50: '#c7b6e6',
    500: '#ae98db',
    950: '#000000',
  },
}
SCSS
$custom: #ae98db;
$custom-light: #c7b6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae98db",
  "rgb": {
    "r": 174,
    "g": 152,
    "b": 219
  },
  "hsl": {
    "h": 259.701,
    "s": 48.201,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72354,
    "c": 0.09816,
    "h": 299
  },
  "luminance": 0.3657
}

Semantic roles & 50–950 ramp

primary
#AE98DB
secondary
#E8EEDD
accent
#BB2A8C
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AE98DB

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

Preview Lab → · Contrast checker → · Palette generator →

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