#AE7EF2#AE7EF2

#AE7EF2 is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.9% C 0.170 H 301.2°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#AE7EF2
RGBrgb(174, 126, 242)
HSLhsl(265, 82%, 72%)
HSVhsv(265, 48%, 95%)
CMYKcmyk(28.1%, 47.9%, 0%, 5.1%)
CIE-LABlab(61.94, 41.66, -51.70)
CIE-LCHlch(61.94, 66.39, 308.87°)
OKLaboklab(68.9% 0.0879 -0.1452)
OKLCHoklch(68.9% 0.17 301.2)
XYZxyz(40.9398, 30.3311, 87.6848)
Luminance0.3033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7EF2 #C2F27E
analogous
#7E88F2 #AE7EF2 #E87EF2
triadic
#AE7EF2 #F2AE7E #7EF2AE
tetradic
#AE7EF2 #F27E88 #C2F27E #7EF2E8
square
#AE7EF2 #F27E88 #C2F27E #7EF2E8
split-complementary
#AE7EF2 #F2E87E #88F27E
monochromatic
#6A16DF #8B46EC #AE7EF2 #D1B6F8 #EEE3FC

Accessibility & contrast

On white

2.97
#AE7EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#AE7EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE7EF2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7EF2#FFFFFF#000000##000000
##AE7EF21.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#6695EF
Tritanopia (blue-blind)
#A193AD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ae7ef2;
/* rgb */ color: rgb(174, 126, 242);
/* oklch */ color: oklch(68.9% 0.170 301.2);
Tailwind
colors: {
  custom: {
    50: '#c9a4f7',
    500: '#ae7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #ae7ef2;
$custom-light: #c9a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7ef2",
  "rgb": {
    "r": 174,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 264.828,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68899,
    "c": 0.16973,
    "h": 301.2
  },
  "luminance": 0.30331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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