#AE4FAF#AE4FAF

#AE4FAF is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.3% C 0.172 H 327.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AE4FAF
RGBrgb(174, 79, 175)
HSLhsl(299, 38%, 50%)
HSVhsv(299, 55%, 69%)
CMYKcmyk(0.6%, 54.9%, 0%, 31.4%)
CIE-LABlab(49.11, 51.98, -33.88)
CIE-LCHlch(49.11, 62.05, 326.90°)
OKLaboklab(58.31% 0.1442 -0.0933)
OKLCHoklch(58.31% 0.172 327.1)
XYZxyz(27.9889, 17.6874, 42.4889)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE4FAF #50AF4F
analogous
#7E4FAF #AE4FAF #AF4F80
triadic
#AE4FAF #AFAE4F #4FAFAE
tetradic
#AE4FAF #AF7E4F #50AF4F #4F80AF
square
#AE4FAF #AF7E4F #50AF4F #4F80AF
split-complementary
#AE4FAF #80AF4F #4FAF7E
monochromatic
#5A295B #843C85 #AE4FAF #C279C2 #D5A3D5

Accessibility & contrast

On white

4.63
#AE4FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AE4FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AE4FAF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE4FAF#FFFFFF#000000##FFFFFF
##AE4FAF1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456DB2
Deuteranopia (green-blind)
#6379AC
Tritanopia (blue-blind)
#B35A78
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ae4faf;
/* rgb */ color: rgb(174, 79, 175);
/* oklch */ color: oklch(58.3% 0.172 327.1);
Tailwind
colors: {
  custom: {
    50: '#c985c7',
    500: '#ae4faf',
    950: '#000000',
  },
}
SCSS
$custom: #ae4faf;
$custom-light: #c985c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae4faf",
  "rgb": {
    "r": 174,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 299.375,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5831,
    "c": 0.17175,
    "h": 327.1
  },
  "luminance": 0.17686
}

Semantic roles & 50–950 ramp

primary
#AE4FAF
secondary
#98C397
accent
#CE5A5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AE4FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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