#AE7CF8#AE7CF8

#AE7CF8 is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.9% C 0.180 H 300.4°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#AE7CF8
RGBrgb(174, 124, 248)
HSLhsl(264, 90%, 73%)
HSVhsv(264, 50%, 97%)
CMYKcmyk(29.8%, 50%, 0%, 2.7%)
CIE-LABlab(61.82, 44.21, -55.20)
CIE-LCHlch(61.82, 70.72, 308.69°)
OKLaboklab(68.91% 0.091 -0.1554)
OKLCHoklch(68.91% 0.18 300.4)
XYZxyz(41.6025, 30.1911, 92.4244)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7CF8 #C6F87C
analogous
#7C88F8 #AE7CF8 #EC7CF8
triadic
#AE7CF8 #F8AE7C #7CF8AE
tetradic
#AE7CF8 #F87C88 #C6F87C #7CF8EC
square
#AE7CF8 #F87C88 #C6F87C #7CF8EC
split-complementary
#AE7CF8 #F8EC7C #88F87C
monochromatic
#670DED #8A42F5 #AE7CF8 #D2B6FB #EDE2FD

Accessibility & contrast

On white

2.98
#AE7CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#AE7CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE7CF8
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7CF8#FFFFFF#000000##000000
##AE7CF81.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5295FC
Deuteranopia (green-blind)
#5F95F5
Tritanopia (blue-blind)
#9F93AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ae7cf8;
/* rgb */ color: rgb(174, 124, 248);
/* oklch */ color: oklch(68.9% 0.180 300.4);
Tailwind
colors: {
  custom: {
    50: '#c9a3fb',
    500: '#ae7cf8',
    950: '#000000',
  },
}
SCSS
$custom: #ae7cf8;
$custom-light: #c9a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7cf8",
  "rgb": {
    "r": 174,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 264.194,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68912,
    "c": 0.18014,
    "h": 300.4
  },
  "luminance": 0.30191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE7CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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