#AE7FEF#AE7FEF

#AE7FEF is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.9% C 0.164 H 301.6°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#AE7FEF
RGBrgb(174, 127, 239)
HSLhsl(265, 78%, 72%)
HSVhsv(265, 47%, 94%)
CMYKcmyk(27.2%, 46.9%, 0%, 6.3%)
CIE-LABlab(62.01, 40.39, -49.93)
CIE-LCHlch(62.01, 64.22, 308.97°)
OKLaboklab(68.9% 0.0862 -0.1401)
OKLCHoklch(68.9% 0.164 301.6)
XYZxyz(40.6214, 30.4093, 85.3741)
Luminance0.3041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7FEF #C0EF7F
analogous
#7F88EF #AE7FEF #E67FEF
triadic
#AE7FEF #EFAE7F #7FEFAE
tetradic
#AE7FEF #EF7F88 #C0EF7F #7FEFE6
square
#AE7FEF #EF7F88 #C0EF7F #7FEFE6
split-complementary
#AE7FEF #EFE67F #88EF7F
monochromatic
#6B1BD9 #8C49E8 #AE7FEF #D0B5F6 #EEE4FC

Accessibility & contrast

On white

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

On black

7.08
#AE7FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE7FEF
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7FEF#FFFFFF#000000##000000
##AE7FEF1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F3
Deuteranopia (green-blind)
#6995EC
Tritanopia (blue-blind)
#A293AC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ae7fef;
/* rgb */ color: rgb(174, 127, 239);
/* oklch */ color: oklch(68.9% 0.164 301.6);
Tailwind
colors: {
  custom: {
    50: '#c9a5f5',
    500: '#ae7fef',
    950: '#000000',
  },
}
SCSS
$custom: #ae7fef;
$custom-light: #c9a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7fef",
  "rgb": {
    "r": 174,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 265.179,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.689,
    "c": 0.16448,
    "h": 301.6
  },
  "luminance": 0.30409
}

Semantic roles & 50–950 ramp

primary
#AE7FEF
secondary
#E7F3D7
accent
#DA0B83
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AE7FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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