#AE7EEB#AE7EEB

#AE7EEB is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.5% C 0.161 H 302.7°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#AE7EEB
RGBrgb(174, 126, 235)
HSLhsl(266, 73%, 71%)
HSVhsv(266, 46%, 92%)
CMYKcmyk(26%, 46.4%, 0%, 7.8%)
CIE-LABlab(61.58, 40.00, -48.38)
CIE-LCHlch(61.58, 62.77, 309.58°)
OKLaboklab(68.52% 0.087 -0.1356)
OKLCHoklch(68.52% 0.161 302.7)
XYZxyz(39.9085, 29.9185, 82.2535)
Luminance0.2992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7EEB #BBEB7E
analogous
#7E84EB #AE7EEB #E47EEB
triadic
#AE7EEB #EBAE7E #7EEBAE
tetradic
#AE7EEB #EB7E84 #BBEB7E #7EEBE4
square
#AE7EEB #EB7E84 #BBEB7E #7EEBE4
split-complementary
#AE7EEB #EBE47E #84EB7E
monochromatic
#6D20CF #8D49E3 #AE7EEB #CFB3F3 #EEE5FB

Accessibility & contrast

On white

3.01
#AE7EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#AE7EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE7EEB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7EEB#FFFFFF#000000##000000
##AE7EEB1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#6B94E8
Tritanopia (blue-blind)
#A391A9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ae7eeb;
/* rgb */ color: rgb(174, 126, 235);
/* oklch */ color: oklch(68.5% 0.161 302.7);
Tailwind
colors: {
  custom: {
    50: '#c8a4f2',
    500: '#ae7eeb',
    950: '#000000',
  },
}
SCSS
$custom: #ae7eeb;
$custom-light: #c8a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7eeb",
  "rgb": {
    "r": 174,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 266.422,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68519,
    "c": 0.16111,
    "h": 302.7
  },
  "luminance": 0.29919
}

Semantic roles & 50–950 ramp

primary
#AE7EEB
secondary
#E4F1D4
accent
#D5107E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AE7EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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