#AE7AEE#AE7AEE

#AE7AEE is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.0% C 0.171 H 302.8°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#AE7AEE
RGBrgb(174, 122, 238)
HSLhsl(267, 77%, 71%)
HSVhsv(267, 49%, 93%)
CMYKcmyk(26.9%, 48.7%, 0%, 6.7%)
CIE-LABlab(60.86, 42.91, -51.19)
CIE-LCHlch(60.86, 66.80, 309.97°)
OKLaboklab(68.03% 0.0927 -0.1437)
OKLCHoklch(68.03% 0.171 302.8)
XYZxyz(39.8443, 29.0908, 84.3883)
Luminance0.2909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7AEE #BAEE7A
analogous
#7A80EE #AE7AEE #E87AEE
triadic
#AE7AEE #EEAE7A #7AEEAE
tetradic
#AE7AEE #EE7A80 #BAEE7A #7AEEE8
square
#AE7AEE #EE7A80 #BAEE7A #7AEEE8
split-complementary
#AE7AEE #EEE87A #80EE7A
monochromatic
#6D1BD3 #8D44E7 #AE7AEE #CFB0F5 #EEE4FC

Accessibility & contrast

On white

3.08
#AE7AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#AE7AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE7AEE
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7AEE#FFFFFF#000000##000000
##AE7AEE1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F2
Deuteranopia (green-blind)
#6493EB
Tritanopia (blue-blind)
#A28FA9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ae7aee;
/* rgb */ color: rgb(174, 122, 238);
/* oklch */ color: oklch(68.0% 0.171 302.8);
Tailwind
colors: {
  custom: {
    50: '#c9a1f4',
    500: '#ae7aee',
    950: '#000000',
  },
}
SCSS
$custom: #ae7aee;
$custom-light: #c9a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7aee",
  "rgb": {
    "r": 174,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 266.897,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68029,
    "c": 0.17104,
    "h": 302.8
  },
  "luminance": 0.29091
}

Semantic roles & 50–950 ramp

primary
#AE7AEE
secondary
#E4F2D2
accent
#DA0C7D
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AE7AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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