#AE7FF2#AE7FF2

#AE7FF2 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.1% C 0.168 H 301.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#AE7FF2
RGBrgb(174, 127, 242)
HSLhsl(265, 82%, 72%)
HSVhsv(265, 48%, 95%)
CMYKcmyk(28.1%, 47.5%, 0%, 5.1%)
CIE-LABlab(62.16, 41.11, -51.35)
CIE-LCHlch(62.16, 65.78, 308.68°)
OKLaboklab(69.06% 0.0866 -0.1442)
OKLCHoklch(69.06% 0.168 301)
XYZxyz(41.0683, 30.5881, 87.7277)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7FF2 #C3F27F
analogous
#7F89F2 #AE7FF2 #E87FF2
triadic
#AE7FF2 #F2AE7F #7FF2AE
tetradic
#AE7FF2 #F27F89 #C3F27F #7FF2E8
square
#AE7FF2 #F27F89 #C3F27F #7FF2E8
split-complementary
#AE7FF2 #F2E87F #89F27F
monochromatic
#6917E0 #8B47EC #AE7FF2 #D1B7F8 #EDE3FC

Accessibility & contrast

On white

2.95
#AE7FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#AE7FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE7FF2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7FF2#FFFFFF#000000##000000
##AE7FF21.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#6796EF
Tritanopia (blue-blind)
#A194AD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ae7ff2;
/* rgb */ color: rgb(174, 127, 242);
/* oklch */ color: oklch(69.1% 0.168 301.0);
Tailwind
colors: {
  custom: {
    50: '#c9a5f7',
    500: '#ae7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ae7ff2;
$custom-light: #c9a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7ff2",
  "rgb": {
    "r": 174,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 264.522,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69063,
    "c": 0.16819,
    "h": 301
  },
  "luminance": 0.30588
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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