#AE7AFF#AE7AFF

#AE7AFF is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.0% C 0.192 H 299.4°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#AE7AFF
RGBrgb(174, 122, 255)
HSLhsl(263, 100%, 74%)
HSVhsv(263, 52%, 100%)
CMYKcmyk(31.8%, 52.2%, 0%, 0%)
CIE-LABlab(61.77, 47.00, -59.12)
CIE-LCHlch(61.77, 75.53, 308.48°)
OKLaboklab(69% 0.0941 -0.1669)
OKLCHoklch(69% 0.192 299.4)
XYZxyz(42.4608, 30.1374, 98.1684)
Luminance0.3014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7AFF #CBFF7A
analogous
#7A89FF #AE7AFF #F17AFF
triadic
#AE7AFF #FFAE7A #7AFFAE
tetradic
#AE7AFF #FF7A89 #CBFF7A #7AFFF1
square
#AE7AFF #FF7A89 #CBFF7A #7AFFF1
split-complementary
#AE7AFF #FFF17A #89FF7A
monochromatic
#6400FF #893DFF #AE7AFF #D3B7FF #ECE0FF

Accessibility & contrast

On white

2.99
#AE7AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#AE7AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE7AFF
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7AFF#FFFFFF#000000##000000
##AE7AFF1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4895FF
Deuteranopia (green-blind)
#5794FC
Tritanopia (blue-blind)
#9D94B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ae7aff;
/* rgb */ color: rgb(174, 122, 255);
/* oklch */ color: oklch(69.0% 0.192 299.4);
Tailwind
colors: {
  custom: {
    50: '#caa2ff',
    500: '#ae7aff',
    950: '#000000',
  },
}
SCSS
$custom: #ae7aff;
$custom-light: #caa2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7aff",
  "rgb": {
    "r": 174,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 263.459,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69001,
    "c": 0.19161,
    "h": 299.4
  },
  "luminance": 0.30138
}

Semantic roles & 50–950 ramp

primary
#AE7AFF
secondary
#E9F7D4
accent
#E6008C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #AE7AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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