#AE6AF1#AE6AF1

#AE6AF1 is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.8% C 0.199 H 304.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AE6AF1
RGBrgb(174, 106, 241)
HSLhsl(270, 83%, 68%)
HSVhsv(270, 56%, 95%)
CMYKcmyk(27.8%, 56%, 0%, 5.5%)
CIE-LABlab(57.71, 52.18, -57.88)
CIE-LCHlch(57.71, 77.93, 312.04°)
OKLaboklab(65.75% 0.1134 -0.1633)
OKLCHoklch(65.75% 0.199 304.8)
XYZxyz(38.4833, 25.6578, 86.1271)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE6AF1 #ADF16A
analogous
#6A6AF1 #AE6AF1 #F16AF1
triadic
#AE6AF1 #F1AE6A #6AF1AE
tetradic
#AE6AF1 #F16A6A #ADF16A #6AF1F1
square
#AE6AF1 #F16A6A #ADF16A #6AF1F1
split-complementary
#AE6AF1 #F1F16A #6AF16A
monochromatic
#7113CD #9032EC #AE6AF1 #CCA2F6 #EBDAFC

Accessibility & contrast

On white

3.42
#AE6AF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#AE6AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE6AF1
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE6AF1#FFFFFF#000000##000000
##AE6AF11.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3589F5
Deuteranopia (green-blind)
#4F8BEE
Tritanopia (blue-blind)
#A284A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ae6af1;
/* rgb */ color: rgb(174, 106, 241);
/* oklch */ color: oklch(65.8% 0.199 304.8);
Tailwind
colors: {
  custom: {
    50: '#ca97f6',
    500: '#ae6af1',
    950: '#000000',
  },
}
SCSS
$custom: #ae6af1;
$custom-light: #ca97f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae6af1",
  "rgb": {
    "r": 174,
    "g": 106,
    "b": 241
  },
  "hsl": {
    "h": 270.222,
    "s": 82.822,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65752,
    "c": 0.19876,
    "h": 304.8
  },
  "luminance": 0.25658
}

Semantic roles & 50–950 ramp

primary
#AE6AF1
secondary
#DBF0C7
accent
#DF0672
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AE6AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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