#AE7FEA#AE7FEA

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

Color values

HEX#AE7FEA
RGBrgb(174, 127, 234)
HSLhsl(266, 72%, 71%)
HSVhsv(266, 46%, 92%)
CMYKcmyk(25.6%, 45.7%, 0%, 8.2%)
CIE-LABlab(61.76, 39.21, -47.56)
CIE-LCHlch(61.76, 61.63, 309.50°)
OKLaboklab(68.63% 0.0856 -0.1332)
OKLCHoklch(68.63% 0.158 302.7)
XYZxyz(39.8930, 30.1179, 81.5376)
Luminance0.3012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7FEA #BBEA7F
analogous
#7F85EA #AE7FEA #E37FEA
triadic
#AE7FEA #EAAE7F #7FEAAE
tetradic
#AE7FEA #EA7F85 #BBEA7F #7FEAE3
square
#AE7FEA #EA7F85 #BBEA7F #7FEAE3
split-complementary
#AE7FEA #EAE37F #85EA7F
monochromatic
#6D22CD #8D4AE1 #AE7FEA #CFB4F3 #EEE5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AE7FEA#FFFFFF#000000##000000
##AE7FEA1.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)
#6194EE
Deuteranopia (green-blind)
#6C95E7
Tritanopia (blue-blind)
#A392A9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ae7fea;
/* rgb */ color: rgb(174, 127, 234);
/* oklch */ color: oklch(68.6% 0.158 302.7);
Tailwind
colors: {
  custom: {
    50: '#c8a5f1',
    500: '#ae7fea',
    950: '#000000',
  },
}
SCSS
$custom: #ae7fea;
$custom-light: #c8a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7fea",
  "rgb": {
    "r": 174,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 266.355,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68631,
    "c": 0.15828,
    "h": 302.7
  },
  "luminance": 0.30118
}

Semantic roles & 50–950 ramp

primary
#AE7FEA
secondary
#E4F1D4
accent
#D4127F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AE7FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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