#AE8EF2#AE8EF2

#AE8EF2 is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.6% C 0.145 H 297.4°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#AE8EF2
RGBrgb(174, 142, 242)
HSLhsl(259, 79%, 75%)
HSVhsv(259, 41%, 95%)
CMYKcmyk(28.1%, 41.3%, 0%, 5.1%)
CIE-LABlab(65.56, 32.75, -45.98)
CIE-LCHlch(65.56, 56.45, 305.46°)
OKLaboklab(71.62% 0.0666 -0.1286)
OKLCHoklch(71.62% 0.145 297.4)
XYZxyz(43.1518, 34.7551, 88.4222)
Luminance0.3476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE8EF2 #D2F28E
analogous
#8EA0F2 #AE8EF2 #E08EF2
triadic
#AE8EF2 #F2AE8E #8EF2AE
tetradic
#AE8EF2 #F28EA0 #D2F28E #8EF2E0
square
#AE8EF2 #F28EA0 #D2F28E #8EF2E0
split-complementary
#AE8EF2 #F2E08E #A0F28E
monochromatic
#5F20E5 #8757EC #AE8EF2 #D5C5F8 #EBE4FC

Accessibility & contrast

On white

2.64
#AE8EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#AE8EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE8EF2
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE8EF2#FFFFFF#000000##000000
##AE8EF21.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#779EEF
Tritanopia (blue-blind)
#A0A0B4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ae8ef2;
/* rgb */ color: rgb(174, 142, 242);
/* oklch */ color: oklch(71.6% 0.145 297.4);
Tailwind
colors: {
  custom: {
    50: '#c8aff7',
    500: '#ae8ef2',
    950: '#000000',
  },
}
SCSS
$custom: #ae8ef2;
$custom-light: #c8aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae8ef2",
  "rgb": {
    "r": 174,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 259.2,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71619,
    "c": 0.1448,
    "h": 297.4
  },
  "luminance": 0.34755
}

Semantic roles & 50–950 ramp

primary
#AE8EF2
secondary
#EBF4D7
accent
#DC0A99
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #AE8EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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