#AE98EA#AE98EA

#AE98EA is a light, moderate violet. Relative luminance 0.374; OKLCH L 73.0% C 0.118 H 295.7°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#AE98EA
RGBrgb(174, 152, 234)
HSLhsl(256, 66%, 76%)
HSVhsv(256, 35%, 92%)
CMYKcmyk(25.6%, 35%, 0%, 8.2%)
CIE-LABlab(67.57, 25.19, -38.43)
CIE-LCHlch(67.57, 45.94, 303.24°)
OKLaboklab(73.03% 0.0513 -0.1068)
OKLCHoklch(73.03% 0.118 295.7)
XYZxyz(43.5316, 37.3952, 82.7505)
Luminance0.3740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE98EA #D4EA98
analogous
#98ABEA #AE98EA #D798EA
triadic
#AE98EA #EAAE98 #98EAAE
tetradic
#AE98EA #EA98AB #D4EA98 #98EAD7
square
#AE98EA #EA98AB #D4EA98 #98EAD7
split-complementary
#AE98EA #EAD798 #ABEA98
monochromatic
#5E32D5 #8665E0 #AE98EA #D6CBF4 #EBE6FA

Accessibility & contrast

On white

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

On black

8.48
#AE98EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE98EA
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE98EA#FFFFFF#000000##000000
##AE98EA1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A5ED
Deuteranopia (green-blind)
#86A3E8
Tritanopia (blue-blind)
#A2A6B6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ae98ea;
/* rgb */ color: rgb(174, 152, 234);
/* oklch */ color: oklch(73.0% 0.118 295.7);
Tailwind
colors: {
  custom: {
    50: '#c7b6f1',
    500: '#ae98ea',
    950: '#000000',
  },
}
SCSS
$custom: #ae98ea;
$custom-light: #c7b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae98ea",
  "rgb": {
    "r": 174,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 256.098,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.73033,
    "c": 0.11846,
    "h": 295.7
  },
  "luminance": 0.37396
}

Semantic roles & 50–950 ramp

primary
#AE98EA
secondary
#EBF1DA
accent
#CE189D
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AE98EA

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

Preview Lab → · Contrast checker → · Palette generator →

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