#AE7AEF#AE7AEF

#AE7AEF is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.1% C 0.172 H 302.6°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#AE7AEF
RGBrgb(174, 122, 239)
HSLhsl(267, 79%, 71%)
HSVhsv(267, 49%, 94%)
CMYKcmyk(27.2%, 49%, 0%, 6.3%)
CIE-LABlab(60.91, 43.14, -51.66)
CIE-LCHlch(60.91, 67.31, 309.87°)
OKLaboklab(68.08% 0.0928 -0.1451)
OKLCHoklch(68.08% 0.172 302.6)
XYZxyz(39.9916, 29.1497, 85.1642)
Luminance0.2915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7AEF #BBEF7A
analogous
#7A80EF #AE7AEF #E97AEF
triadic
#AE7AEF #EFAE7A #7AEFAE
tetradic
#AE7AEF #EF7A80 #BBEF7A #7AEFE9
square
#AE7AEF #EF7A80 #BBEF7A #7AEFE9
split-complementary
#AE7AEF #EFE97A #80EF7A
monochromatic
#6D1AD5 #8D43E8 #AE7AEF #CFB1F6 #EEE4FC

Accessibility & contrast

On white

3.07
#AE7AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#AE7AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE7AEF
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7AEF#FFFFFF#000000##000000
##AE7AEF1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ae7aef;
/* rgb */ color: rgb(174, 122, 239);
/* oklch */ color: oklch(68.1% 0.172 302.6);
Tailwind
colors: {
  custom: {
    50: '#c9a1f5',
    500: '#ae7aef',
    950: '#000000',
  },
}
SCSS
$custom: #ae7aef;
$custom-light: #c9a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7aef",
  "rgb": {
    "r": 174,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 266.667,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68084,
    "c": 0.17226,
    "h": 302.6
  },
  "luminance": 0.2915
}

Semantic roles & 50–950 ramp

primary
#AE7AEF
secondary
#E4F2D3
accent
#DB0B7E
background
#FCFAFF
surface
#F9F3FE
border
#D2CDD6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AE7AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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