#AE4FE2#AE4FE2

#AE4FE2 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.3% C 0.221 H 311.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AE4FE2
RGBrgb(174, 79, 226)
HSLhsl(279, 72%, 60%)
HSVhsv(279, 65%, 89%)
CMYKcmyk(23%, 65%, 0%, 11.4%)
CIE-LABlab(51.93, 62.05, -58.74)
CIE-LCHlch(51.93, 85.44, 316.57°)
OKLaboklab(61.26% 0.1456 -0.1657)
OKLCHoklch(61.26% 0.221 311.3)
XYZxyz(33.9765, 20.0824, 74.0232)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE4FE2 #83E24F
analogous
#654FE2 #AE4FE2 #E24FCC
triadic
#AE4FE2 #E2AE4F #4FE2AE
tetradic
#AE4FE2 #E2654F #83E24F #4FCCE2
square
#AE4FE2 #E2654F #83E24F #4FCCE2
split-complementary
#AE4FE2 #CCE24F #4FE265
monochromatic
#6E1A9D #9322D1 #AE4FE2 #C684EB #DEB8F3

Accessibility & contrast

On white

4.19
#AE4FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#AE4FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE4FE2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE4FE2#FFFFFF#000000##000000
##AE4FE21.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#3F7EDF
Tritanopia (blue-blind)
#A86D92
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ae4fe2;
/* rgb */ color: rgb(174, 79, 226);
/* oklch */ color: oklch(61.3% 0.221 311.3);
Tailwind
colors: {
  custom: {
    50: '#ca86ec',
    500: '#ae4fe2',
    950: '#000000',
  },
}
SCSS
$custom: #ae4fe2;
$custom-light: #ca86ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ae4fe2",
  "rgb": {
    "r": 174,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 278.776,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61264,
    "c": 0.22054,
    "h": 311.3
  },
  "luminance": 0.20082
}

Semantic roles & 50–950 ramp

primary
#AE4FE2
secondary
#BEE3AA
accent
#EE3979
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE4FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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