#AE7EFE#AE7EFE

#AE7EFE is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.6% C 0.184 H 298.8°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#AE7EFE
RGBrgb(174, 126, 254)
HSLhsl(263, 98%, 75%)
HSVhsv(263, 50%, 100%)
CMYKcmyk(31.5%, 50.4%, 0%, 0.4%)
CIE-LABlab(62.57, 44.58, -57.30)
CIE-LCHlch(62.57, 72.59, 307.88°)
OKLaboklab(69.58% 0.089 -0.1616)
OKLCHoklch(69.58% 0.184 298.8)
XYZxyz(42.8015, 31.0757, 97.4900)
Luminance0.3108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7EFE #CEFE7E
analogous
#7E8EFE #AE7EFE #EE7EFE
triadic
#AE7EFE #FEAE7E #7EFEAE
tetradic
#AE7EFE #FE7E8E #CEFE7E #7EFEEE
square
#AE7EFE #FE7E8E #CEFE7E #7EFEEE
split-complementary
#AE7EFE #FEEE7E #8EFE7E
monochromatic
#6205FD #8841FE #AE7EFE #D4BBFE #ECE1FF

Accessibility & contrast

On white

2.91
#AE7EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#AE7EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE7EFE
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7EFE#FFFFFF#000000##000000
##AE7EFE1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#5D96FB
Tritanopia (blue-blind)
#9D97B2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ae7efe;
/* rgb */ color: rgb(174, 126, 254);
/* oklch */ color: oklch(69.6% 0.184 298.8);
Tailwind
colors: {
  custom: {
    50: '#c9a4ff',
    500: '#ae7efe',
    950: '#000000',
  },
}
SCSS
$custom: #ae7efe;
$custom-light: #c9a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7efe",
  "rgb": {
    "r": 174,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 262.5,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69576,
    "c": 0.18447,
    "h": 298.8
  },
  "luminance": 0.31076
}

Semantic roles & 50–950 ramp

primary
#AE7EFE
secondary
#EAF7D4
accent
#E6008F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #AE7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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