#AE4FB2#AE4FB2

#AE4FB2 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.5% C 0.174 H 326.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AE4FB2
RGBrgb(174, 79, 178)
HSLhsl(298, 39%, 50%)
HSVhsv(298, 56%, 70%)
CMYKcmyk(2.2%, 55.6%, 0%, 30.2%)
CIE-LABlab(49.26, 52.53, -35.41)
CIE-LCHlch(49.26, 63.35, 326.02°)
OKLaboklab(58.46% 0.1446 -0.0977)
OKLCHoklch(58.46% 0.174 326)
XYZxyz(28.2868, 17.8066, 44.0579)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE4FB2 #53B24F
analogous
#7D4FB2 #AE4FB2 #B24F84
triadic
#AE4FB2 #B2AE4F #4FB2AE
tetradic
#AE4FB2 #B27D4F #53B24F #4F84B2
square
#AE4FB2 #B27D4F #53B24F #4F84B2
split-complementary
#AE4FB2 #84B24F #4FB27D
monochromatic
#5C295E #853C88 #AE4FB2 #C27AC5 #D5A4D7

Accessibility & contrast

On white

4.60
#AE4FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#AE4FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AE4FB2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE4FB2#FFFFFF#000000##FFFFFF
##AE4FB21.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436DB5
Deuteranopia (green-blind)
#6279AF
Tritanopia (blue-blind)
#B25B79
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ae4fb2;
/* rgb */ color: rgb(174, 79, 178);
/* oklch */ color: oklch(58.5% 0.174 326.0);
Tailwind
colors: {
  custom: {
    50: '#c985c9',
    500: '#ae4fb2',
    950: '#000000',
  },
}
SCSS
$custom: #ae4fb2;
$custom-light: #c985c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae4fb2",
  "rgb": {
    "r": 174,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 297.576,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58464,
    "c": 0.17447,
    "h": 326
  },
  "luminance": 0.17805
}

Semantic roles & 50–950 ramp

primary
#AE4FB2
secondary
#9AC498
accent
#CF595E
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AE4FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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