#AE50EB#AE50EB

#AE50EB is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 62.0% C 0.228 H 309.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AE50EB
RGBrgb(174, 80, 235)
HSLhsl(276, 79%, 62%)
HSVhsv(276, 66%, 92%)
CMYKcmyk(26%, 66%, 0%, 7.8%)
CIE-LABlab(52.66, 63.52, -62.64)
CIE-LCHlch(52.66, 89.21, 315.40°)
OKLaboklab(61.97% 0.1438 -0.1771)
OKLCHoklch(61.97% 0.228 309.1)
XYZxyz(35.3166, 20.7348, 80.7229)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE50EB #8DEB50
analogous
#6150EB #AE50EB #EB50DB
triadic
#AE50EB #EBAE50 #50EBAE
tetradic
#AE50EB #EB6150 #8DEB50 #50DBEB
square
#AE50EB #EB6150 #8DEB50 #50DBEB
split-complementary
#AE50EB #DBEB50 #50EB61
monochromatic
#7114AD #941AE4 #AE50EB #C787F1 #E1BEF8

Accessibility & contrast

On white

4.08
#AE50EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#AE50EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE50EB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE50EB#FFFFFF#000000##000000
##AE50EB1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#357FE8
Tritanopia (blue-blind)
#A57197
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ae50eb;
/* rgb */ color: rgb(174, 80, 235);
/* oklch */ color: oklch(62.0% 0.228 309.1);
Tailwind
colors: {
  custom: {
    50: '#cb87f2',
    500: '#ae50eb',
    950: '#000000',
  },
}
SCSS
$custom: #ae50eb;
$custom-light: #cb87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae50eb",
  "rgb": {
    "r": 174,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 276.387,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61967,
    "c": 0.22816,
    "h": 309.1
  },
  "luminance": 0.20734
}

Semantic roles & 50–950 ramp

primary
#AE50EB
secondary
#C5E8AF
accent
#DC0A5C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AE50EB

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

Preview Lab → · Contrast checker → · Palette generator →

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