#AE7AFC#AE7AFC

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

Color values

HEX#AE7AFC
RGBrgb(174, 122, 252)
HSLhsl(264, 96%, 73%)
HSVhsv(264, 52%, 99%)
CMYKcmyk(31%, 51.6%, 0%, 1.2%)
CIE-LABlab(61.61, 46.27, -57.74)
CIE-LCHlch(61.61, 73.99, 308.71°)
OKLaboklab(68.83% 0.0939 -0.1629)
OKLCHoklch(68.83% 0.188 300)
XYZxyz(41.9816, 29.9457, 95.6449)
Luminance0.2995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7AFC #C8FC7A
analogous
#7A87FC #AE7AFC #EF7AFC
triadic
#AE7AFC #FCAE7A #7AFCAE
tetradic
#AE7AFC #FC7A87 #C8FC7A #7AFCEF
square
#AE7AFC #FC7A87 #C8FC7A #7AFCEF
split-complementary
#AE7AFC #FCEF7A #87FC7A
monochromatic
#6606F6 #8A3EFB #AE7AFC #D2B6FD #EDE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AE7AFC#FFFFFF#000000##000000
##AE7AFC1.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)
#4B94FF
Deuteranopia (green-blind)
#5994F9
Tritanopia (blue-blind)
#9E93B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ae7afc;
/* rgb */ color: rgb(174, 122, 252);
/* oklch */ color: oklch(68.8% 0.188 300.0);
Tailwind
colors: {
  custom: {
    50: '#caa2fe',
    500: '#ae7afc',
    950: '#000000',
  },
}
SCSS
$custom: #ae7afc;
$custom-light: #caa2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7afc",
  "rgb": {
    "r": 174,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 264,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68825,
    "c": 0.18799,
    "h": 300
  },
  "luminance": 0.29946
}

Semantic roles & 50–950 ramp

primary
#AE7AFC
secondary
#E9F7D4
accent
#E6008A
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86

Preview Lab

Preview with #AE7AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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