#AE7AEB#AE7AEB

#AE7AEB is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.9% C 0.167 H 303.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#AE7AEB
RGBrgb(174, 122, 235)
HSLhsl(268, 74%, 70%)
HSVhsv(268, 48%, 92%)
CMYKcmyk(26%, 48.1%, 0%, 7.8%)
CIE-LABlab(60.71, 42.20, -49.77)
CIE-LCHlch(60.71, 65.25, 310.29°)
OKLaboklab(67.86% 0.0924 -0.1396)
OKLCHoklch(67.86% 0.167 303.5)
XYZxyz(39.4072, 28.9160, 82.0864)
Luminance0.2892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7AEB #B7EB7A
analogous
#7A7EEB #AE7AEB #E77AEB
triadic
#AE7AEB #EBAE7A #7AEBAE
tetradic
#AE7AEB #EB7A7E #B7EB7A #7AEBE7
square
#AE7AEB #EB7A7E #B7EB7A #7AEBE7
split-complementary
#AE7AEB #EBE77A #7EEB7A
monochromatic
#6E1FCC #8E45E3 #AE7AEB #CEAFF3 #EFE4FB

Accessibility & contrast

On white

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

On black

6.78
#AE7AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE7AEB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7AEB#FFFFFF#000000##000000
##AE7AEB1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EF
Deuteranopia (green-blind)
#6692E8
Tritanopia (blue-blind)
#A38EA8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ae7aeb;
/* rgb */ color: rgb(174, 122, 235);
/* oklch */ color: oklch(67.9% 0.167 303.5);
Tailwind
colors: {
  custom: {
    50: '#c9a1f2',
    500: '#ae7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #ae7aeb;
$custom-light: #c9a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7aeb",
  "rgb": {
    "r": 174,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 267.611,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.67864,
    "c": 0.1674,
    "h": 303.5
  },
  "luminance": 0.28916
}

Semantic roles & 50–950 ramp

primary
#AE7AEB
secondary
#E2F0D1
accent
#D6107B
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AE7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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