#AE7CF9#AE7CF9

#AE7CF9 is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.0% C 0.181 H 300.2°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#AE7CF9
RGBrgb(174, 124, 249)
HSLhsl(264, 91%, 73%)
HSVhsv(264, 50%, 98%)
CMYKcmyk(30.1%, 50.2%, 0%, 2.4%)
CIE-LABlab(61.87, 44.45, -55.66)
CIE-LCHlch(61.87, 71.23, 308.61°)
OKLaboklab(68.97% 0.0911 -0.1568)
OKLCHoklch(68.97% 0.181 300.2)
XYZxyz(41.7581, 30.2533, 93.2437)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7CF9 #C7F97C
analogous
#7C88F9 #AE7CF9 #EC7CF9
triadic
#AE7CF9 #F9AE7C #7CF9AE
tetradic
#AE7CF9 #F97C88 #C7F97C #7CF9EC
square
#AE7CF9 #F97C88 #C7F97C #7CF9EC
split-complementary
#AE7CF9 #F9EC7C #88F97C
monochromatic
#660BF0 #8A41F6 #AE7CF9 #D2B7FC #EDE2FE

Accessibility & contrast

On white

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

On black

7.05
#AE7CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE7CF9
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7CF9#FFFFFF#000000##000000
##AE7CF91.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FD
Deuteranopia (green-blind)
#5E95F6
Tritanopia (blue-blind)
#9F94AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ae7cf9;
/* rgb */ color: rgb(174, 124, 249);
/* oklch */ color: oklch(69.0% 0.181 300.2);
Tailwind
colors: {
  custom: {
    50: '#c9a3fc',
    500: '#ae7cf9',
    950: '#000000',
  },
}
SCSS
$custom: #ae7cf9;
$custom-light: #c9a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7cf9",
  "rgb": {
    "r": 174,
    "g": 124,
    "b": 249
  },
  "hsl": {
    "h": 264,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68969,
    "c": 0.18136,
    "h": 300.2
  },
  "luminance": 0.30254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE7CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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