#AE40EA#AE40EA

#AE40EA is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 60.2% C 0.246 H 310.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AE40EA
RGBrgb(174, 64, 234)
HSLhsl(279, 80%, 58%)
HSVhsv(279, 73%, 92%)
CMYKcmyk(25.6%, 72.6%, 0%, 8.2%)
CIE-LABlab(50.22, 69.97, -66.00)
CIE-LCHlch(50.22, 96.19, 316.67°)
OKLaboklab(60.21% 0.1599 -0.1869)
OKLCHoklch(60.21% 0.246 310.5)
XYZxyz(34.1374, 18.6068, 79.6191)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40EA #7CEA40
analogous
#5940EA #AE40EA #EA40D1
triadic
#AE40EA #EAAE40 #40EAAE
tetradic
#AE40EA #EA5940 #7CEA40 #40D1EA
square
#AE40EA #EA5940 #7CEA40 #40D1EA
split-complementary
#AE40EA #D1EA40 #40EA59
monochromatic
#6D119E #9217D5 #AE40EA #C577F0 #DDAEF6

Accessibility & contrast

On white

4.45
#AE40EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#AE40EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE40EA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40EA#FFFFFF#000000##000000
##AE40EA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#1D79E6
Tritanopia (blue-blind)
#A66792
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ae40ea;
/* rgb */ color: rgb(174, 64, 234);
/* oklch */ color: oklch(60.2% 0.246 310.5);
Tailwind
colors: {
  custom: {
    50: '#cb7ff2',
    500: '#ae40ea',
    950: '#000000',
  },
}
SCSS
$custom: #ae40ea;
$custom-light: #cb7ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40ea",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 234
  },
  "hsl": {
    "h": 278.824,
    "s": 80.189,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60211,
    "c": 0.24598,
    "h": 310.5
  },
  "luminance": 0.18606
}

Semantic roles & 50–950 ramp

primary
#AE40EA
secondary
#B9E5A1
accent
#F73177
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #AE40EA

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

Preview Lab → · Contrast checker → · Palette generator →

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