#AE3FA8#AE3FA8

#AE3FA8 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.0% C 0.189 H 330.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AE3FA8
RGBrgb(174, 63, 168)
HSLhsl(303, 47%, 46%)
HSVhsv(303, 64%, 68%)
CMYKcmyk(0%, 63.8%, 3.4%, 31.8%)
CIE-LABlab(46.15, 57.92, -34.41)
CIE-LCHlch(46.15, 67.37, 329.28°)
OKLaboklab(56.04% 0.1638 -0.0947)
OKLCHoklch(56.04% 0.189 330)
XYZxyz(26.3008, 15.3827, 38.6221)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE3FA8 #3FAE45
analogous
#7D3FAE #AE3FA8 #AE3F71
triadic
#AE3FA8 #A8AE3F #3FA8AE
tetradic
#AE3FA8 #AE7D3F #3FAE45 #3F71AE
square
#AE3FA8 #AE7D3F #3FAE45 #3F71AE
split-complementary
#AE3FA8 #71AE3F #3FAE7D
monochromatic
#541E51 #812F7D #AE3FA8 #C764C1 #D790D3

Accessibility & contrast

On white

5.15
#AE3FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AE3FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE3FA8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE3FA8#FFFFFF#000000##FFFFFF
##AE3FA81.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3664AB
Deuteranopia (green-blind)
#5D73A5
Tritanopia (blue-blind)
#B44B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ae3fa8;
/* rgb */ color: rgb(174, 63, 168);
/* oklch */ color: oklch(56.0% 0.189 330.0);
Tailwind
colors: {
  custom: {
    50: '#c97cc2',
    500: '#ae3fa8',
    950: '#000000',
  },
}
SCSS
$custom: #ae3fa8;
$custom-light: #c97cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae3fa8",
  "rgb": {
    "r": 174,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 303.243,
    "s": 46.835,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56037,
    "c": 0.18919,
    "h": 330
  },
  "luminance": 0.15381
}

Semantic roles & 50–950 ramp

primary
#AE3FA8
secondary
#87C28A
accent
#D65951
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #AE3FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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