#AE7AF2#AE7AF2

#AE7AF2 is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.3% C 0.176 H 302.0°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#AE7AF2
RGBrgb(174, 122, 242)
HSLhsl(266, 82%, 71%)
HSVhsv(266, 50%, 95%)
CMYKcmyk(28.1%, 49.6%, 0%, 5.1%)
CIE-LABlab(61.07, 43.86, -53.08)
CIE-LCHlch(61.07, 68.85, 309.57°)
OKLaboklab(68.25% 0.0931 -0.1492)
OKLCHoklch(68.25% 0.176 302)
XYZxyz(40.4385, 29.3285, 87.5177)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7AF2 #BEF27A
analogous
#7A82F2 #AE7AF2 #EA7AF2
triadic
#AE7AF2 #F2AE7A #7AF2AE
tetradic
#AE7AF2 #F27A82 #BEF27A #7AF2EA
square
#AE7AF2 #F27A82 #BEF27A #7AF2EA
split-complementary
#AE7AF2 #F2EA7A #82F27A
monochromatic
#6C16DC #8C42ED #AE7AF2 #D0B2F7 #EEE3FC

Accessibility & contrast

On white

3.06
#AE7AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#AE7AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE7AF2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7AF2#FFFFFF#000000##000000
##AE7AF21.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#6193EF
Tritanopia (blue-blind)
#A190AB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ae7af2;
/* rgb */ color: rgb(174, 122, 242);
/* oklch */ color: oklch(68.3% 0.176 302.0);
Tailwind
colors: {
  custom: {
    50: '#c9a2f7',
    500: '#ae7af2',
    950: '#000000',
  },
}
SCSS
$custom: #ae7af2;
$custom-light: #c9a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7af2",
  "rgb": {
    "r": 174,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 266,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68252,
    "c": 0.17589,
    "h": 302
  },
  "luminance": 0.29329
}

Semantic roles & 50–950 ramp

primary
#AE7AF2
secondary
#E6F3D4
accent
#DF0781
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AE7AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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