#AE7AFD#AE7AFD

#AE7AFD is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.9% C 0.189 H 299.8°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#AE7AFD
RGBrgb(174, 122, 253)
HSLhsl(264, 97%, 74%)
HSVhsv(264, 52%, 99%)
CMYKcmyk(31.2%, 51.8%, 0%, 0.8%)
CIE-LABlab(61.66, 46.51, -58.20)
CIE-LCHlch(61.66, 74.50, 308.63°)
OKLaboklab(68.88% 0.0939 -0.1642)
OKLCHoklch(68.88% 0.189 299.8)
XYZxyz(42.1405, 30.0093, 96.4817)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7AFD #C9FD7A
analogous
#7A87FD #AE7AFD #F07AFD
triadic
#AE7AFD #FDAE7A #7AFDAE
tetradic
#AE7AFD #FD7A87 #C9FD7A #7AFDF0
square
#AE7AFD #FD7A87 #C9FD7A #7AFDF0
split-complementary
#AE7AFD #FDF07A #87FD7A
monochromatic
#6504F9 #893EFC #AE7AFD #D3B6FE #EDE1FF

Accessibility & contrast

On white

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

On black

7.00
#AE7AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE7AFD
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7AFD#FFFFFF#000000##000000
##AE7AFD1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#5994FA
Tritanopia (blue-blind)
#9E93B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ae7afd;
/* rgb */ color: rgb(174, 122, 253);
/* oklch */ color: oklch(68.9% 0.189 299.8);
Tailwind
colors: {
  custom: {
    50: '#caa2ff',
    500: '#ae7afd',
    950: '#000000',
  },
}
SCSS
$custom: #ae7afd;
$custom-light: #caa2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7afd",
  "rgb": {
    "r": 174,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 263.817,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68883,
    "c": 0.18919,
    "h": 299.8
  },
  "luminance": 0.3001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE7AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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