#AE42EA#AE42EA

#AE42EA is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.4% C 0.244 H 310.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AE42EA
RGBrgb(174, 66, 234)
HSLhsl(279, 80%, 59%)
HSVhsv(279, 72%, 92%)
CMYKcmyk(25.6%, 71.8%, 0%, 8.2%)
CIE-LABlab(50.50, 69.19, -65.57)
CIE-LCHlch(50.50, 95.32, 316.54°)
OKLaboklab(60.4% 0.158 -0.1856)
OKLCHoklch(60.4% 0.244 310.4)
XYZxyz(34.2522, 18.8364, 79.6574)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42EA #7EEA42
analogous
#5A42EA #AE42EA #EA42D2
triadic
#AE42EA #EAAE42 #42EAAE
tetradic
#AE42EA #EA5A42 #7EEA42 #42D2EA
square
#AE42EA #EA5A42 #7EEA42 #42D2EA
split-complementary
#AE42EA #D2EA42 #42EA5A
monochromatic
#6D12A0 #9318D7 #AE42EA #C679F0 #DDB0F6

Accessibility & contrast

On white

4.41
#AE42EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#AE42EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE42EA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42EA#FFFFFF#000000##000000
##AE42EA1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#207AE6
Tritanopia (blue-blind)
#A66893
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ae42ea;
/* rgb */ color: rgb(174, 66, 234);
/* oklch */ color: oklch(60.4% 0.244 310.4);
Tailwind
colors: {
  custom: {
    50: '#cb80f2',
    500: '#ae42ea',
    950: '#000000',
  },
}
SCSS
$custom: #ae42ea;
$custom-light: #cb80f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42ea",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 234
  },
  "hsl": {
    "h": 278.571,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60403,
    "c": 0.24381,
    "h": 310.4
  },
  "luminance": 0.18836
}

Semantic roles & 50–950 ramp

primary
#AE42EA
secondary
#BAE5A3
accent
#F63178
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #AE42EA

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

Preview Lab → · Contrast checker → · Palette generator →

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