#AE62EC#AE62EC

#AE62EC is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.3% C 0.205 H 307.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AE62EC
RGBrgb(174, 98, 236)
HSLhsl(273, 78%, 65%)
HSVhsv(273, 58%, 93%)
CMYKcmyk(26.3%, 58.5%, 0%, 7.5%)
CIE-LABlab(55.88, 55.14, -58.02)
CIE-LCHlch(55.88, 80.04, 313.54°)
OKLaboklab(64.32% 0.1231 -0.1637)
OKLCHoklch(64.32% 0.205 307)
XYZxyz(36.9604, 23.7906, 81.9856)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE62EC #A0EC62
analogous
#6962EC #AE62EC #EC62E5
triadic
#AE62EC #ECAE62 #62ECAE
tetradic
#AE62EC #EC6962 #A0EC62 #62E5EC
square
#AE62EC #EC6962 #A0EC62 #62E5EC
split-complementary
#AE62EC #E5EC62 #62EC69
monochromatic
#7217BD #922BE5 #AE62EC #CA99F3 #E6CFF9

Accessibility & contrast

On white

3.65
#AE62EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#AE62EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE62EC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE62EC#FFFFFF#000000##000000
##AE62EC1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2883F0
Deuteranopia (green-blind)
#4A87E9
Tritanopia (blue-blind)
#A47D9E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ae62ec;
/* rgb */ color: rgb(174, 98, 236);
/* oklch */ color: oklch(64.3% 0.205 307.0);
Tailwind
colors: {
  custom: {
    50: '#ca92f3',
    500: '#ae62ec',
    950: '#000000',
  },
}
SCSS
$custom: #ae62ec;
$custom-light: #ca92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae62ec",
  "rgb": {
    "r": 174,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 273.043,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64317,
    "c": 0.20481,
    "h": 307
  },
  "luminance": 0.2379
}

Semantic roles & 50–950 ramp

primary
#AE62EC
secondary
#D3ECBE
accent
#DB0B68
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AE62EC

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

Preview Lab → · Contrast checker → · Palette generator →

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