#AE7EEA#AE7EEA

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

Color values

HEX#AE7EEA
RGBrgb(174, 126, 234)
HSLhsl(267, 72%, 71%)
HSVhsv(267, 46%, 92%)
CMYKcmyk(25.6%, 46.2%, 0%, 8.2%)
CIE-LABlab(61.53, 39.76, -47.91)
CIE-LCHlch(61.53, 62.26, 309.69°)
OKLaboklab(68.47% 0.0869 -0.1342)
OKLCHoklch(68.47% 0.16 302.9)
XYZxyz(39.7644, 29.8609, 81.4948)
Luminance0.2986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7EEA #BAEA7E
analogous
#7E84EA #AE7EEA #E47EEA
triadic
#AE7EEA #EAAE7E #7EEAAE
tetradic
#AE7EEA #EA7E84 #BAEA7E #7EEAE4
square
#AE7EEA #EA7E84 #BAEA7E #7EEAE4
split-complementary
#AE7EEA #EAE47E #84EA7E
monochromatic
#6D21CC #8D49E1 #AE7EEA #CFB3F3 #EEE5FB

Accessibility & contrast

On white

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

On black

6.97
#AE7EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE7EEA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7EEA#FFFFFF#000000##000000
##AE7EEA1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ae7eea;
/* rgb */ color: rgb(174, 126, 234);
/* oklch */ color: oklch(68.5% 0.160 302.9);
Tailwind
colors: {
  custom: {
    50: '#c8a4f1',
    500: '#ae7eea',
    950: '#000000',
  },
}
SCSS
$custom: #ae7eea;
$custom-light: #c8a4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7eea",
  "rgb": {
    "r": 174,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 266.667,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68465,
    "c": 0.15987,
    "h": 302.9
  },
  "luminance": 0.29861
}

Semantic roles & 50–950 ramp

primary
#AE7EEA
secondary
#E4F1D3
accent
#D4117E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AE7EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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