#AE7DEC#AE7DEC

#AE7DEC is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.4% C 0.164 H 302.7°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#AE7DEC
RGBrgb(174, 125, 236)
HSLhsl(266, 74%, 71%)
HSVhsv(266, 47%, 93%)
CMYKcmyk(26.3%, 47%, 0%, 7.5%)
CIE-LABlab(61.41, 40.78, -49.21)
CIE-LCHlch(61.41, 63.91, 309.65°)
OKLaboklab(68.41% 0.0885 -0.138)
OKLCHoklch(68.41% 0.164 302.7)
XYZxyz(39.9262, 29.7220, 82.9741)
Luminance0.2972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7DEC #BBEC7D
analogous
#7D83EC #AE7DEC #E57DEC
triadic
#AE7DEC #ECAE7D #7DECAE
tetradic
#AE7DEC #EC7D83 #BBEC7D #7DECE5
square
#AE7DEC #EC7D83 #BBEC7D #7DECE5
split-complementary
#AE7DEC #ECE57D #83EC7D
monochromatic
#6D1ED0 #8D48E4 #AE7DEC #CFB2F4 #EEE4FB

Accessibility & contrast

On white

3.02
#AE7DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#AE7DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE7DEC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7DEC#FFFFFF#000000##000000
##AE7DEC1.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93F0
Deuteranopia (green-blind)
#6994E9
Tritanopia (blue-blind)
#A391A9
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ae7dec;
/* rgb */ color: rgb(174, 125, 236);
/* oklch */ color: oklch(68.4% 0.164 302.7);
Tailwind
colors: {
  custom: {
    50: '#c8a3f2',
    500: '#ae7dec',
    950: '#000000',
  },
}
SCSS
$custom: #ae7dec;
$custom-light: #c8a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7dec",
  "rgb": {
    "r": 174,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 266.486,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68408,
    "c": 0.16391,
    "h": 302.7
  },
  "luminance": 0.29722
}

Semantic roles & 50–950 ramp

primary
#AE7DEC
secondary
#E4F1D3
accent
#D70F7E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AE7DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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