#AE7AEC#AE7AEC

#AE7AEC is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.9% C 0.169 H 303.3°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#AE7AEC
RGBrgb(174, 122, 236)
HSLhsl(267, 75%, 70%)
HSVhsv(267, 48%, 93%)
CMYKcmyk(26.3%, 48.3%, 0%, 7.5%)
CIE-LABlab(60.76, 42.43, -50.25)
CIE-LCHlch(60.76, 65.77, 310.18°)
OKLaboklab(67.92% 0.0925 -0.141)
OKLCHoklch(67.92% 0.169 303.3)
XYZxyz(39.5521, 28.9739, 82.8494)
Luminance0.2897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7AEC #B8EC7A
analogous
#7A7FEC #AE7AEC #E77AEC
triadic
#AE7AEC #ECAE7A #7AECAE
tetradic
#AE7AEC #EC7A7F #B8EC7A #7AECE7
square
#AE7AEC #EC7A7F #B8EC7A #7AECE7
split-complementary
#AE7AEC #ECE77A #7FEC7A
monochromatic
#6E1DCE #8D44E4 #AE7AEC #CFB0F4 #EFE4FB

Accessibility & contrast

On white

3.09
#AE7AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#AE7AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE7AEC
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7AEC#FFFFFF#000000##000000
##AE7AEC1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891F0
Deuteranopia (green-blind)
#6692E9
Tritanopia (blue-blind)
#A38EA8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ae7aec;
/* rgb */ color: rgb(174, 122, 236);
/* oklch */ color: oklch(67.9% 0.169 303.3);
Tailwind
colors: {
  custom: {
    50: '#c9a1f2',
    500: '#ae7aec',
    950: '#000000',
  },
}
SCSS
$custom: #ae7aec;
$custom-light: #c9a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7aec",
  "rgb": {
    "r": 174,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 267.368,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67919,
    "c": 0.16862,
    "h": 303.3
  },
  "luminance": 0.28974
}

Semantic roles & 50–950 ramp

primary
#AE7AEC
secondary
#E2F1D1
accent
#D70E7C
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AE7AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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