#AE5FB2#AE5FB2

#AE5FB2 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 60.7% C 0.148 H 325.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AE5FB2
RGBrgb(174, 95, 178)
HSLhsl(297, 35%, 54%)
HSVhsv(297, 47%, 70%)
CMYKcmyk(2.2%, 46.6%, 0%, 30.2%)
CIE-LABlab(52.29, 44.51, -30.68)
CIE-LCHlch(52.29, 54.06, 325.43°)
OKLaboklab(60.7% 0.1222 -0.0842)
OKLCHoklch(60.7% 0.148 325.4)
XYZxyz(29.5830, 20.3989, 44.4900)
Luminance0.2040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE5FB2 #63B25F
analogous
#845FB2 #AE5FB2 #B25F8C
triadic
#AE5FB2 #B2AE5F #5FB2AE
tetradic
#AE5FB2 #B2845F #63B25F #5F8CB2
square
#AE5FB2 #B2845F #63B25F #5F8CB2
split-complementary
#AE5FB2 #8CB25F #5FB284
monochromatic
#633166 #8B458F #AE5FB2 #C388C6 #D8B2DA

Accessibility & contrast

On white

4.13
#AE5FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#AE5FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE5FB2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE5FB2#FFFFFF#000000##000000
##AE5FB21.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5676B5
Deuteranopia (green-blind)
#6D80AF
Tritanopia (blue-blind)
#B26880
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ae5fb2;
/* rgb */ color: rgb(174, 95, 178);
/* oklch */ color: oklch(60.7% 0.148 325.4);
Tailwind
colors: {
  custom: {
    50: '#c88fc9',
    500: '#ae5fb2',
    950: '#000000',
  },
}
SCSS
$custom: #ae5fb2;
$custom-light: #c88fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae5fb2",
  "rgb": {
    "r": 174,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 297.108,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60697,
    "c": 0.14841,
    "h": 325.4
  },
  "luminance": 0.20397
}

Semantic roles & 50–950 ramp

primary
#AE5FB2
secondary
#A6C8A5
accent
#CB5D62
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130D13
muted
#827D82

Preview Lab

Preview with #AE5FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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