#AE7FE8#AE7FE8

#AE7FE8 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.5% C 0.156 H 303.2°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#AE7FE8
RGBrgb(174, 127, 232)
HSLhsl(267, 70%, 70%)
HSVhsv(267, 45%, 91%)
CMYKcmyk(25%, 45.3%, 0%, 9%)
CIE-LABlab(61.66, 38.73, -46.60)
CIE-LCHlch(61.66, 60.60, 309.73°)
OKLaboklab(68.53% 0.0853 -0.1304)
OKLCHoklch(68.53% 0.156 303.2)
XYZxyz(39.6073, 30.0037, 80.0330)
Luminance0.3000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7FE8 #B9E87F
analogous
#7F84E8 #AE7FE8 #E27FE8
triadic
#AE7FE8 #E8AE7F #7FE8AE
tetradic
#AE7FE8 #E87F84 #B9E87F #7FE8E2
square
#AE7FE8 #E87F84 #B9E87F #7FE8E2
split-complementary
#AE7FE8 #E8E27F #84E87F
monochromatic
#6E24C9 #8D4BDF #AE7FE8 #CFB3F1 #EFE5FA

Accessibility & contrast

On white

3.00
#AE7FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#AE7FE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE7FE8
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7FE8#FFFFFF#000000##000000
##AE7FE81.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6294EC
Deuteranopia (green-blind)
#6D95E5
Tritanopia (blue-blind)
#A491A8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ae7fe8;
/* rgb */ color: rgb(174, 127, 232);
/* oklch */ color: oklch(68.5% 0.156 303.2);
Tailwind
colors: {
  custom: {
    50: '#c8a5f0',
    500: '#ae7fe8',
    950: '#000000',
  },
}
SCSS
$custom: #ae7fe8;
$custom-light: #c8a5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7fe8",
  "rgb": {
    "r": 174,
    "g": 127,
    "b": 232
  },
  "hsl": {
    "h": 266.857,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68525,
    "c": 0.15581,
    "h": 303.2
  },
  "luminance": 0.30004
}

Semantic roles & 50–950 ramp

primary
#AE7FE8
secondary
#E3F0D3
accent
#D2147D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AE7FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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