#AF4EAE#AF4EAE

#AF4EAE is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.3% C 0.173 H 327.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AF4EAE
RGBrgb(175, 78, 174)
HSLhsl(301, 38%, 50%)
HSVhsv(301, 55%, 69%)
CMYKcmyk(0%, 55.4%, 0.6%, 31.4%)
CIE-LABlab(49.03, 52.55, -33.42)
CIE-LCHlch(49.03, 62.28, 327.55°)
OKLaboklab(58.26% 0.1466 -0.0919)
OKLCHoklch(58.26% 0.173 327.9)
XYZxyz(28.0432, 17.6204, 41.9602)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4EAE #4EAF4F
analogous
#804EAF #AF4EAE #AF4E7D
triadic
#AF4EAE #AEAF4E #4EAEAF
tetradic
#AF4EAE #AF804E #4EAF4F #4E7DAF
square
#AF4EAE #AF804E #4EAF4F #4E7DAF
split-complementary
#AF4EAE #7DAF4E #4EAF80
monochromatic
#5A285A #853B84 #AF4EAE #C378C2 #D6A2D5

Accessibility & contrast

On white

4.64
#AF4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#AF4EAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4EAE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4EAE#FFFFFF#000000##FFFFFF
##AF4EAE1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456CB1
Deuteranopia (green-blind)
#6479AB
Tritanopia (blue-blind)
#B45977
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af4eae;
/* rgb */ color: rgb(175, 78, 174);
/* oklch */ color: oklch(58.3% 0.173 327.9);
Tailwind
colors: {
  custom: {
    50: '#c985c6',
    500: '#af4eae',
    950: '#000000',
  },
}
SCSS
$custom: #af4eae;
$custom-light: #c985c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af4eae",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 300.619,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58263,
    "c": 0.173,
    "h": 327.9
  },
  "luminance": 0.17619
}

Semantic roles & 50–950 ramp

primary
#AF4EAE
secondary
#96C397
accent
#CE5B5A
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AF4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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