#AE51F2#AE51F2

#AE51F2 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.5% C 0.234 H 307.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AE51F2
RGBrgb(174, 81, 242)
HSLhsl(275, 86%, 63%)
HSVhsv(275, 67%, 95%)
CMYKcmyk(28.1%, 66.5%, 0%, 5.1%)
CIE-LABlab(53.27, 64.59, -65.57)
CIE-LCHlch(53.27, 92.04, 314.57°)
OKLaboklab(62.55% 0.1421 -0.1857)
OKLCHoklch(62.55% 0.234 307.4)
XYZxyz(36.4216, 21.2948, 86.1788)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51F2 #95F251
analogous
#5D51F2 #AE51F2 #F251E6
triadic
#AE51F2 #F2AE51 #51F2AE
tetradic
#AE51F2 #F25D51 #95F251 #51E6F2
square
#AE51F2 #F25D51 #95F251 #51E6F2
split-complementary
#AE51F2 #E6F251 #51F25D
monochromatic
#720EBB #9318EE #AE51F2 #C98AF6 #E3C3FB

Accessibility & contrast

On white

3.99
#AE51F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#AE51F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51F2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51F2#FFFFFF#000000##000000
##AE51F21.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#2B80EE
Tritanopia (blue-blind)
#A3749B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ae51f2;
/* rgb */ color: rgb(174, 81, 242);
/* oklch */ color: oklch(62.5% 0.234 307.4);
Tailwind
colors: {
  custom: {
    50: '#cb88f7',
    500: '#ae51f2',
    950: '#000000',
  },
}
SCSS
$custom: #ae51f2;
$custom-light: #cb88f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51f2",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 274.658,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6255,
    "c": 0.23387,
    "h": 307.4
  },
  "luminance": 0.21294
}

Semantic roles & 50–950 ramp

primary
#AE51F2
secondary
#CBECB3
accent
#E30361
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #AE51F2

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

Preview Lab → · Contrast checker → · Palette generator →

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