#AE98EC#AE98EC

#AE98EC is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.1% C 0.121 H 295.3°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#AE98EC
RGBrgb(174, 152, 236)
HSLhsl(256, 69%, 76%)
HSVhsv(256, 36%, 93%)
CMYKcmyk(26.3%, 35.6%, 0%, 7.5%)
CIE-LABlab(67.66, 25.67, -39.39)
CIE-LCHlch(67.66, 47.01, 303.09°)
OKLaboklab(73.13% 0.0517 -0.1096)
OKLCHoklch(73.13% 0.121 295.3)
XYZxyz(43.8205, 37.5108, 84.2722)
Luminance0.3751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE98EC #D6EC98
analogous
#98ACEC #AE98EC #D898EC
triadic
#AE98EC #ECAE98 #98ECAE
tetradic
#AE98EC #EC98AC #D6EC98 #98ECD8
square
#AE98EC #EC98AC #D6EC98 #98ECD8
split-complementary
#AE98EC #ECD898 #ACEC98
monochromatic
#5D31D9 #8564E2 #AE98EC #D7CCF6 #EBE5FA

Accessibility & contrast

On white

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

On black

8.50
#AE98EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE98EC
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE98EC#FFFFFF#000000##000000
##AE98EC1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ae98ec;
/* rgb */ color: rgb(174, 152, 236);
/* oklch */ color: oklch(73.1% 0.121 295.3);
Tailwind
colors: {
  custom: {
    50: '#c8b6f2',
    500: '#ae98ec',
    950: '#000000',
  },
}
SCSS
$custom: #ae98ec;
$custom-light: #c8b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae98ec",
  "rgb": {
    "r": 174,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 255.714,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73127,
    "c": 0.12116,
    "h": 295.3
  },
  "luminance": 0.37511
}

Semantic roles & 50–950 ramp

primary
#AE98EC
secondary
#EBF2D9
accent
#D115A0
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AE98EC

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

Preview Lab → · Contrast checker → · Palette generator →

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