#AE50E2#AE50E2

#AE50E2 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.4% C 0.219 H 311.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AE50E2
RGBrgb(174, 80, 226)
HSLhsl(279, 72%, 60%)
HSVhsv(279, 65%, 89%)
CMYKcmyk(23%, 64.6%, 0%, 11.4%)
CIE-LABlab(52.09, 61.60, -58.48)
CIE-LCHlch(52.09, 84.93, 316.49°)
OKLaboklab(61.38% 0.1445 -0.1649)
OKLCHoklch(61.38% 0.219 311.2)
XYZxyz(34.0491, 20.2278, 74.0475)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE50E2 #84E250
analogous
#6550E2 #AE50E2 #E250CD
triadic
#AE50E2 #E2AE50 #50E2AE
tetradic
#AE50E2 #E26550 #84E250 #50CDE2
square
#AE50E2 #E26550 #84E250 #50CDE2
split-complementary
#AE50E2 #CDE250 #50E265
monochromatic
#6F1A9E #9423D2 #AE50E2 #C684EB #DFB9F3

Accessibility & contrast

On white

4.16
#AE50E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#AE50E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE50E2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE50E2#FFFFFF#000000##000000
##AE50E21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#407EDF
Tritanopia (blue-blind)
#A86D92
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ae50e2;
/* rgb */ color: rgb(174, 80, 226);
/* oklch */ color: oklch(61.4% 0.219 311.2);
Tailwind
colors: {
  custom: {
    50: '#ca87ec',
    500: '#ae50e2',
    950: '#000000',
  },
}
SCSS
$custom: #ae50e2;
$custom-light: #ca87ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ae50e2",
  "rgb": {
    "r": 174,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 278.63,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.61382,
    "c": 0.21923,
    "h": 311.2
  },
  "luminance": 0.20227
}

Semantic roles & 50–950 ramp

primary
#AE50E2
secondary
#BFE3AB
accent
#EE397A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE50E2

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

Preview Lab → · Contrast checker → · Palette generator →

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