#AE7DF2#AE7DF2

#AE7DF2 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.7% C 0.171 H 301.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#AE7DF2
RGBrgb(174, 125, 242)
HSLhsl(265, 82%, 72%)
HSVhsv(265, 48%, 95%)
CMYKcmyk(28.1%, 48.3%, 0%, 5.1%)
CIE-LABlab(61.72, 42.21, -52.04)
CIE-LCHlch(61.72, 67.01, 309.05°)
OKLaboklab(68.74% 0.0892 -0.1462)
OKLCHoklch(68.74% 0.171 301.4)
XYZxyz(40.8125, 30.0766, 87.6424)
Luminance0.3008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7DF2 #C1F27D
analogous
#7D87F2 #AE7DF2 #E87DF2
triadic
#AE7DF2 #F2AE7D #7DF2AE
tetradic
#AE7DF2 #F27D87 #C1F27D #7DF2E8
square
#AE7DF2 #F27D87 #C1F27D #7DF2E8
split-complementary
#AE7DF2 #F2E87D #87F27D
monochromatic
#6A16DE #8B45EC #AE7DF2 #D1B5F8 #EEE3FC

Accessibility & contrast

On white

2.99
#AE7DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#AE7DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE7DF2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7DF2#FFFFFF#000000##000000
##AE7DF21.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#6595EF
Tritanopia (blue-blind)
#A192AC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ae7df2;
/* rgb */ color: rgb(174, 125, 242);
/* oklch */ color: oklch(68.7% 0.171 301.4);
Tailwind
colors: {
  custom: {
    50: '#c9a4f7',
    500: '#ae7df2',
    950: '#000000',
  },
}
SCSS
$custom: #ae7df2;
$custom-light: #c9a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7df2",
  "rgb": {
    "r": 174,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 265.128,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68736,
    "c": 0.17128,
    "h": 301.4
  },
  "luminance": 0.30077
}

Semantic roles & 50–950 ramp

primary
#AE7DF2
secondary
#E8F4D7
accent
#DE0784
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AE7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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