#AE1FB3#AE1FB3

#AE1FB3 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 54.1% C 0.231 H 326.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AE1FB3
RGBrgb(174, 31, 179)
HSLhsl(298, 70%, 41%)
HSVhsv(298, 83%, 70%)
CMYKcmyk(2.8%, 82.7%, 0%, 29.8%)
CIE-LABlab(43.12, 70.11, -45.74)
CIE-LCHlch(43.12, 83.71, 326.88°)
OKLaboklab(54.06% 0.1932 -0.1273)
OKLCHoklch(54.06% 0.231 326.6)
XYZxyz(26.0818, 13.2352, 43.8200)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE1FB3 #24B31F
analogous
#641FB3 #AE1FB3 #B31F6E
triadic
#AE1FB3 #B3AE1F #1FB3AE
tetradic
#AE1FB3 #B3641F #24B31F #1F6EB3
square
#AE1FB3 #B3641F #24B31F #1F6EB3
split-complementary
#AE1FB3 #6EB31F #1FB364
monochromatic
#490D4B #7B167F #AE1FB3 #D633DC #E168E5

Accessibility & contrast

On white

5.76
#AE1FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AE1FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE1FB3
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE1FB3#FFFFFF#000000##FFFFFF
##AE1FB31.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#486CB0
Tritanopia (blue-blind)
#B33D6B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ae1fb3;
/* rgb */ color: rgb(174, 31, 179);
/* oklch */ color: oklch(54.1% 0.231 326.6);
Tailwind
colors: {
  custom: {
    50: '#ca6fca',
    500: '#ae1fb3',
    950: '#000000',
  },
}
SCSS
$custom: #ae1fb3;
$custom-light: #ca6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#ae1fb3",
  "rgb": {
    "r": 174,
    "g": 31,
    "b": 179
  },
  "hsl": {
    "h": 297.973,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.54055,
    "c": 0.2314,
    "h": 326.6
  },
  "luminance": 0.13233
}

Semantic roles & 50–950 ramp

primary
#AE1FB3
secondary
#67CA64
accent
#ED3B41
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #AE1FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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