#AE7BF8#AE7BF8

#AE7BF8 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.8% C 0.182 H 300.5°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#AE7BF8
RGBrgb(174, 123, 248)
HSLhsl(264, 90%, 73%)
HSVhsv(264, 50%, 97%)
CMYKcmyk(29.8%, 50.4%, 0%, 2.7%)
CIE-LABlab(61.60, 44.75, -55.54)
CIE-LCHlch(61.60, 71.33, 308.86°)
OKLaboklab(68.75% 0.0923 -0.1564)
OKLCHoklch(68.75% 0.182 300.5)
XYZxyz(41.4778, 29.9417, 92.3829)
Luminance0.2994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7BF8 #C5F87B
analogous
#7B86F8 #AE7BF8 #EC7BF8
triadic
#AE7BF8 #F8AE7B #7BF8AE
tetradic
#AE7BF8 #F87B86 #C5F87B #7BF8EC
square
#AE7BF8 #F87B86 #C5F87B #7BF8EC
split-complementary
#AE7BF8 #F8EC7B #86F87B
monochromatic
#680DEC #8A41F5 #AE7BF8 #D2B5FB #EDE2FD

Accessibility & contrast

On white

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

On black

6.99
#AE7BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE7BF8
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7BF8#FFFFFF#000000##000000
##AE7BF81.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FC
Deuteranopia (green-blind)
#5E94F5
Tritanopia (blue-blind)
#9F93AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ae7bf8;
/* rgb */ color: rgb(174, 123, 248);
/* oklch */ color: oklch(68.8% 0.182 300.5);
Tailwind
colors: {
  custom: {
    50: '#c9a2fb',
    500: '#ae7bf8',
    950: '#000000',
  },
}
SCSS
$custom: #ae7bf8;
$custom-light: #c9a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7bf8",
  "rgb": {
    "r": 174,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 264.48,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68752,
    "c": 0.18165,
    "h": 300.5
  },
  "luminance": 0.29942
}

Semantic roles & 50–950 ramp

primary
#AE7BF8
secondary
#E8F6D5
accent
#E60088
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AE7BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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