#AE98EB#AE98EB

#AE98EB is a light, moderate violet. Relative luminance 0.375; OKLCH L 73.1% C 0.120 H 295.5°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#AE98EB
RGBrgb(174, 152, 235)
HSLhsl(256, 67%, 76%)
HSVhsv(256, 35%, 92%)
CMYKcmyk(26%, 35.3%, 0%, 7.8%)
CIE-LABlab(67.62, 25.43, -38.91)
CIE-LCHlch(67.62, 46.48, 303.16°)
OKLaboklab(73.08% 0.0515 -0.1082)
OKLCHoklch(73.08% 0.12 295.5)
XYZxyz(43.6756, 37.4528, 83.5092)
Luminance0.3745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE98EB #D5EB98
analogous
#98ABEB #AE98EB #D898EB
triadic
#AE98EB #EBAE98 #98EBAE
tetradic
#AE98EB #EB98AB #D5EB98 #98EBD8
square
#AE98EB #EB98AB #D5EB98 #98EBD8
split-complementary
#AE98EB #EBD898 #ABEB98
monochromatic
#5D32D7 #8665E1 #AE98EB #D6CBF5 #EBE5FA

Accessibility & contrast

On white

2.47
#AE98EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#AE98EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE98EB
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE98EB#FFFFFF#000000##000000
##AE98EB1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5EE
Deuteranopia (green-blind)
#85A4E9
Tritanopia (blue-blind)
#A1A6B7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ae98eb;
/* rgb */ color: rgb(174, 152, 235);
/* oklch */ color: oklch(73.1% 0.120 295.5);
Tailwind
colors: {
  custom: {
    50: '#c7b6f1',
    500: '#ae98eb',
    950: '#000000',
  },
}
SCSS
$custom: #ae98eb;
$custom-light: #c7b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae98eb",
  "rgb": {
    "r": 174,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 255.904,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73079,
    "c": 0.11981,
    "h": 295.5
  },
  "luminance": 0.37453
}

Semantic roles & 50–950 ramp

primary
#AE98EB
secondary
#EBF2D9
accent
#CF169E
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AE98EB

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

Preview Lab → · Contrast checker → · Palette generator →

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