#AE6AF2#AE6AF2

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

Color values

HEX#AE6AF2
RGBrgb(174, 106, 242)
HSLhsl(270, 84%, 68%)
HSVhsv(270, 56%, 95%)
CMYKcmyk(28.1%, 56.2%, 0%, 5.1%)
CIE-LABlab(57.77, 52.41, -58.34)
CIE-LCHlch(57.77, 78.43, 311.93°)
OKLaboklab(65.81% 0.1134 -0.1646)
OKLCHoklch(65.81% 0.2 304.6)
XYZxyz(38.6331, 25.7177, 86.9159)
Luminance0.2572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE6AF2 #AEF26A
analogous
#6A6AF2 #AE6AF2 #F26AF2
triadic
#AE6AF2 #F2AE6A #6AF2AE
tetradic
#AE6AF2 #F26A6A #AEF26A #6AF2F2
square
#AE6AF2 #F26A6A #AEF26A #6AF2F2
split-complementary
#AE6AF2 #F2F26A #6AF26A
monochromatic
#7112CF #8F32ED #AE6AF2 #CDA2F7 #EBDBFC

Accessibility & contrast

On white

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

On black

6.14
#AE6AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE6AF2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE6AF2#FFFFFF#000000##000000
##AE6AF21.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3489F6
Deuteranopia (green-blind)
#4E8BEF
Tritanopia (blue-blind)
#A284A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ae6af2;
/* rgb */ color: rgb(174, 106, 242);
/* oklch */ color: oklch(65.8% 0.200 304.6);
Tailwind
colors: {
  custom: {
    50: '#ca97f7',
    500: '#ae6af2',
    950: '#000000',
  },
}
SCSS
$custom: #ae6af2;
$custom-light: #ca97f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae6af2",
  "rgb": {
    "r": 174,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 270,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65812,
    "c": 0.19989,
    "h": 304.6
  },
  "luminance": 0.25718
}

Semantic roles & 50–950 ramp

primary
#AE6AF2
secondary
#DCF1C7
accent
#E00573
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AE6AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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