#AE2FB7#AE2FB7

#AE2FB7 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.4% C 0.220 H 325.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AE2FB7
RGBrgb(174, 47, 183)
HSLhsl(296, 59%, 45%)
HSVhsv(296, 74%, 72%)
CMYKcmyk(4.9%, 74.3%, 0%, 28.2%)
CIE-LABlab(44.87, 66.37, -45.28)
CIE-LCHlch(44.87, 80.35, 325.69°)
OKLaboklab(55.38% 0.1808 -0.1261)
OKLCHoklch(55.38% 0.22 325.1)
XYZxyz(27.0187, 14.4524, 46.1570)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2FB7 #38B72F
analogous
#6A2FB7 #AE2FB7 #B72F7C
triadic
#AE2FB7 #B7AE2F #2FB7AE
tetradic
#AE2FB7 #B76A2F #38B72F #2F7CB7
square
#AE2FB7 #B76A2F #38B72F #2F7CB7
split-complementary
#AE2FB7 #7CB72F #2FB76A
monochromatic
#511656 #802286 #AE2FB7 #CA51D2 #D982DF

Accessibility & contrast

On white

5.40
#AE2FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AE2FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2FB7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2FB7#FFFFFF#000000##FFFFFF
##AE2FB71.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#4C6FB4
Tritanopia (blue-blind)
#B24771
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ae2fb7;
/* rgb */ color: rgb(174, 47, 183);
/* oklch */ color: oklch(55.4% 0.220 325.1);
Tailwind
colors: {
  custom: {
    50: '#ca75cd',
    500: '#ae2fb7',
    950: '#000000',
  },
}
SCSS
$custom: #ae2fb7;
$custom-light: #ca75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2fb7",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 296.029,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5538,
    "c": 0.22039,
    "h": 325.1
  },
  "luminance": 0.14451
}

Semantic roles & 50–950 ramp

primary
#AE2FB7
secondary
#7FC87A
accent
#E24550
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AE2FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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