#AE7AFE#AE7AFE

#AE7AFE is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.9% C 0.190 H 299.6°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#AE7AFE
RGBrgb(174, 122, 254)
HSLhsl(264, 99%, 74%)
HSVhsv(264, 52%, 100%)
CMYKcmyk(31.5%, 52%, 0%, 0.4%)
CIE-LABlab(61.72, 46.75, -58.66)
CIE-LCHlch(61.72, 75.01, 308.56°)
OKLaboklab(68.94% 0.094 -0.1656)
OKLCHoklch(68.94% 0.19 299.6)
XYZxyz(42.3002, 30.0732, 97.3229)
Luminance0.3007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7AFE #CAFE7A
analogous
#7A88FE #AE7AFE #F07AFE
triadic
#AE7AFE #FEAE7A #7AFEAE
tetradic
#AE7AFE #FE7A88 #CAFE7A #7AFEF0
square
#AE7AFE #FE7A88 #CAFE7A #7AFEF0
split-complementary
#AE7AFE #FEF07A #88FE7A
monochromatic
#6402FC #893DFE #AE7AFE #D3B7FE #EDE1FF

Accessibility & contrast

On white

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

On black

7.01
#AE7AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE7AFE
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7AFE#FFFFFF#000000##000000
##AE7AFE1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4995FF
Deuteranopia (green-blind)
#5894FB
Tritanopia (blue-blind)
#9D94B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ae7afe;
/* rgb */ color: rgb(174, 122, 254);
/* oklch */ color: oklch(68.9% 0.190 299.6);
Tailwind
colors: {
  custom: {
    50: '#caa2ff',
    500: '#ae7afe',
    950: '#000000',
  },
}
SCSS
$custom: #ae7afe;
$custom-light: #caa2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7afe",
  "rgb": {
    "r": 174,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 263.636,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68942,
    "c": 0.1904,
    "h": 299.6
  },
  "luminance": 0.30073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE7AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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