#AEA1EF#AEA1EF

#AEA1EF is a light, moderate violet. Relative luminance 0.407; OKLCH L 74.9% C 0.111 H 291.1°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#AEA1EF
RGBrgb(174, 161, 239)
HSLhsl(250, 71%, 78%)
HSVhsv(250, 33%, 94%)
CMYKcmyk(27.2%, 32.6%, 0%, 6.3%)
CIE-LABlab(69.98, 21.33, -37.41)
CIE-LCHlch(69.98, 43.07, 299.69°)
OKLaboklab(74.94% 0.0401 -0.1039)
OKLCHoklch(74.94% 0.111 291.1)
XYZxyz(45.7766, 40.7196, 87.0925)
Luminance0.4072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEA1EF #E2EFA1
analogous
#A1BBEF #AEA1EF #D5A1EF
triadic
#AEA1EF #EFAEA1 #A1EFAE
tetradic
#AEA1EF #EFA1BB #E2EFA1 #A1EFD5
square
#AEA1EF #EFA1BB #E2EFA1 #A1EFD5
split-complementary
#AEA1EF #EFD5A1 #BBEFA1
monochromatic
#5438DD #816DE6 #AEA1EF #DBD5F8 #E8E5FB

Accessibility & contrast

On white

2.30
#AEA1EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#AEA1EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEA1EF
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEA1EF#FFFFFF#000000##000000
##AEA1EF1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CACF2
Deuteranopia (green-blind)
#8DA9ED
Tritanopia (blue-blind)
#A0AEBD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aea1ef;
/* rgb */ color: rgb(174, 161, 239);
/* oklch */ color: oklch(74.9% 0.111 291.1);
Tailwind
colors: {
  custom: {
    50: '#c7bcf4',
    500: '#aea1ef',
    950: '#000000',
  },
}
SCSS
$custom: #aea1ef;
$custom-light: #c7bcf4;
$custom-dark: #000000;
JSON
{
  "hex": "#aea1ef",
  "rgb": {
    "r": 174,
    "g": 161,
    "b": 239
  },
  "hsl": {
    "h": 250,
    "s": 70.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.74944,
    "c": 0.11137,
    "h": 291.1
  },
  "luminance": 0.4072
}

Semantic roles & 50–950 ramp

primary
#AEA1EF
secondary
#EEF2D9
accent
#D313B3
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #AEA1EF

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

Preview Lab → · Contrast checker → · Palette generator →

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