#AE7AEA#AE7AEA

#AE7AEA is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.8% C 0.166 H 303.7°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#AE7AEA
RGBrgb(174, 122, 234)
HSLhsl(268, 73%, 70%)
HSVhsv(268, 48%, 92%)
CMYKcmyk(25.6%, 47.9%, 0%, 8.2%)
CIE-LABlab(60.66, 41.96, -49.30)
CIE-LCHlch(60.66, 64.74, 310.41°)
OKLaboklab(67.81% 0.0923 -0.1382)
OKLCHoklch(67.81% 0.166 303.7)
XYZxyz(39.2632, 28.8583, 81.3277)
Luminance0.2886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7AEA #B6EA7A
analogous
#7A7EEA #AE7AEA #E67AEA
triadic
#AE7AEA #EAAE7A #7AEAAE
tetradic
#AE7AEA #EA7A7E #B6EA7A #7AEAE6
square
#AE7AEA #EA7A7E #B6EA7A #7AEAE6
split-complementary
#AE7AEA #EAE67A #7EEA7A
monochromatic
#6F20CA #8E45E2 #AE7AEA #CEAFF2 #EEE4FB

Accessibility & contrast

On white

3.10
#AE7AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#AE7AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE7AEA
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7AEA#FFFFFF#000000##000000
##AE7AEA1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EE
Deuteranopia (green-blind)
#6792E7
Tritanopia (blue-blind)
#A48EA7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ae7aea;
/* rgb */ color: rgb(174, 122, 234);
/* oklch */ color: oklch(67.8% 0.166 303.7);
Tailwind
colors: {
  custom: {
    50: '#c9a1f1',
    500: '#ae7aea',
    950: '#000000',
  },
}
SCSS
$custom: #ae7aea;
$custom-light: #c9a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7aea",
  "rgb": {
    "r": 174,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 267.857,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67809,
    "c": 0.16619,
    "h": 303.7
  },
  "luminance": 0.28858
}

Semantic roles & 50–950 ramp

primary
#AE7AEA
secondary
#E1F0D0
accent
#D5117A
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AE7AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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