#AE8CF2#AE8CF2

#AE8CF2 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.3% C 0.148 H 297.9°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#AE8CF2
RGBrgb(174, 140, 242)
HSLhsl(260, 80%, 75%)
HSVhsv(260, 42%, 95%)
CMYKcmyk(28.1%, 42.1%, 0%, 5.1%)
CIE-LABlab(65.09, 33.87, -46.71)
CIE-LCHlch(65.09, 57.70, 305.95°)
OKLaboklab(71.27% 0.0692 -0.1307)
OKLCHoklch(71.27% 0.148 297.9)
XYZxyz(42.8569, 34.1653, 88.3239)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE8CF2 #D0F28C
analogous
#8C9DF2 #AE8CF2 #E18CF2
triadic
#AE8CF2 #F2AE8C #8CF2AE
tetradic
#AE8CF2 #F28C9D #D0F28C #8CF2E1
square
#AE8CF2 #F28C9D #D0F28C #8CF2E1
split-complementary
#AE8CF2 #F2E18C #9DF28C
monochromatic
#611EE6 #8755EC #AE8CF2 #D5C3F8 #ECE4FC

Accessibility & contrast

On white

2.68
#AE8CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#AE8CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE8CF2
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE8CF2#FFFFFF#000000##000000
##AE8CF21.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9EF6
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#A09EB3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ae8cf2;
/* rgb */ color: rgb(174, 140, 242);
/* oklch */ color: oklch(71.3% 0.148 297.9);
Tailwind
colors: {
  custom: {
    50: '#c8aef7',
    500: '#ae8cf2',
    950: '#000000',
  },
}
SCSS
$custom: #ae8cf2;
$custom-light: #c8aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae8cf2",
  "rgb": {
    "r": 174,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 260,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71268,
    "c": 0.14793,
    "h": 297.9
  },
  "luminance": 0.34166
}

Semantic roles & 50–950 ramp

primary
#AE8CF2
secondary
#EAF4D7
accent
#DC0A96
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #AE8CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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