#AE98E2#AE98E2

#AE98E2 is a light, moderate violet. Relative luminance 0.369; OKLCH L 72.7% C 0.108 H 297.3°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#AE98E2
RGBrgb(174, 152, 226)
HSLhsl(258, 56%, 74%)
HSVhsv(258, 33%, 89%)
CMYKcmyk(23%, 32.7%, 0%, 11.4%)
CIE-LABlab(67.24, 23.29, -34.55)
CIE-LCHlch(67.24, 41.66, 303.99°)
OKLaboklab(72.67% 0.0494 -0.0956)
OKLCHoklch(72.67% 0.108 297.3)
XYZxyz(42.4081, 36.9458, 76.8338)
Luminance0.3695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE98E2 #CCE298
analogous
#98A7E2 #AE98E2 #D398E2
triadic
#AE98E2 #E2AE98 #98E2AE
tetradic
#AE98E2 #E298A7 #CCE298 #98E2D3
square
#AE98E2 #E298A7 #CCE298 #98E2D3
split-complementary
#AE98E2 #E2D398 #A7E298
monochromatic
#6338C7 #8868D5 #AE98E2 #D4C8EF #ECE7F8

Accessibility & contrast

On white

2.50
#AE98E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#AE98E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE98E2
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE98E2#FFFFFF#000000##000000
##AE98E21.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A4E5
Deuteranopia (green-blind)
#8AA3E0
Tritanopia (blue-blind)
#A4A4B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ae98e2;
/* rgb */ color: rgb(174, 152, 226);
/* oklch */ color: oklch(72.7% 0.108 297.3);
Tailwind
colors: {
  custom: {
    50: '#c7b6eb',
    500: '#ae98e2',
    950: '#000000',
  },
}
SCSS
$custom: #ae98e2;
$custom-light: #c7b6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae98e2",
  "rgb": {
    "r": 174,
    "g": 152,
    "b": 226
  },
  "hsl": {
    "h": 257.838,
    "s": 56.061,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72665,
    "c": 0.10764,
    "h": 297.3
  },
  "luminance": 0.36946
}

Semantic roles & 50–950 ramp

primary
#AE98E2
secondary
#EAF0DB
accent
#C42294
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AE98E2

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

Preview Lab → · Contrast checker → · Palette generator →

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