#AEA8EC#AEA8EC

#AEA8EC is a light, moderate blue. Relative luminance 0.431; OKLCH L 76.1% C 0.097 H 287.9°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#AEA8EC
RGBrgb(174, 168, 236)
HSLhsl(245, 64%, 79%)
HSVhsv(245, 29%, 93%)
CMYKcmyk(26.3%, 28.8%, 0%, 7.5%)
CIE-LABlab(71.60, 16.68, -33.27)
CIE-LCHlch(71.60, 37.22, 296.63°)
OKLaboklab(76.15% 0.0298 -0.092)
OKLCHoklch(76.15% 0.097 287.9)
XYZxyz(46.5947, 43.0592, 85.1970)
Luminance0.4306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEA8EC #E6ECA8
analogous
#A8C4EC #AEA8EC #D0A8EC
triadic
#AEA8EC #ECAEA8 #A8ECAE
tetradic
#AEA8EC #ECA8C4 #E6ECA8 #A8ECD0
square
#AEA8EC #ECA8C4 #E6ECA8 #A8ECD0
split-complementary
#AEA8EC #ECD0A8 #C4ECA8
monochromatic
#5044D6 #7F76E1 #AEA8EC #DDDAF7 #E8E6FA

Accessibility & contrast

On white

2.18
#AEA8EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#AEA8EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEA8EC
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEA8EC#FFFFFF#000000##000000
##AEA8EC1.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B1EF
Deuteranopia (green-blind)
#95AEEA
Tritanopia (blue-blind)
#A0B4C0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #aea8ec;
/* rgb */ color: rgb(174, 168, 236);
/* oklch */ color: oklch(76.1% 0.097 287.9);
Tailwind
colors: {
  custom: {
    50: '#c7c1f2',
    500: '#aea8ec',
    950: '#000000',
  },
}
SCSS
$custom: #aea8ec;
$custom-light: #c7c1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aea8ec",
  "rgb": {
    "r": 174,
    "g": 168,
    "b": 236
  },
  "hsl": {
    "h": 245.294,
    "s": 64.151,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76148,
    "c": 0.09673,
    "h": 287.9
  },
  "luminance": 0.4306
}

Semantic roles & 50–950 ramp

primary
#AEA8EC
secondary
#EFF1DA
accent
#CC1ABC
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #AEA8EC

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

Preview Lab → · Contrast checker → · Palette generator →

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