#AE7EF8#AE7EF8

#AE7EF8 is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.2% C 0.177 H 300.0°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#AE7EF8
RGBrgb(174, 126, 248)
HSLhsl(264, 90%, 73%)
HSVhsv(264, 49%, 97%)
CMYKcmyk(29.8%, 49.2%, 0%, 2.7%)
CIE-LABlab(62.25, 43.11, -54.51)
CIE-LCHlch(62.25, 69.50, 308.34°)
OKLaboklab(69.23% 0.0885 -0.1534)
OKLCHoklch(69.23% 0.177 300)
XYZxyz(41.8557, 30.6974, 92.5088)
Luminance0.3070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7EF8 #C8F87E
analogous
#7E8BF8 #AE7EF8 #EB7EF8
triadic
#AE7EF8 #F8AE7E #7EF8AE
tetradic
#AE7EF8 #F87E8B #C8F87E #7EF8EB
square
#AE7EF8 #F87E8B #C8F87E #7EF8EB
split-complementary
#AE7EF8 #F8EB7E #8BF87E
monochromatic
#660DEF #8A44F5 #AE7EF8 #D2B8FB #EDE2FD

Accessibility & contrast

On white

2.94
#AE7EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#AE7EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE7EF8
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7EF8#FFFFFF#000000##000000
##AE7EF81.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FC
Deuteranopia (green-blind)
#6296F5
Tritanopia (blue-blind)
#9F95B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ae7ef8;
/* rgb */ color: rgb(174, 126, 248);
/* oklch */ color: oklch(69.2% 0.177 300.0);
Tailwind
colors: {
  custom: {
    50: '#c9a4fb',
    500: '#ae7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #ae7ef8;
$custom-light: #c9a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7ef8",
  "rgb": {
    "r": 174,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 263.607,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69234,
    "c": 0.17711,
    "h": 300
  },
  "luminance": 0.30698
}

Semantic roles & 50–950 ramp

primary
#AE7EF8
secondary
#E9F6D5
accent
#E6008B
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AE7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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