#AF5EAE#AF5EAE

#AF5EAE is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.5% C 0.147 H 327.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AF5EAE
RGBrgb(175, 94, 174)
HSLhsl(301, 34%, 53%)
HSVhsv(301, 46%, 69%)
CMYKcmyk(0%, 46.3%, 0.6%, 31.4%)
CIE-LABlab(52.04, 44.58, -28.73)
CIE-LCHlch(52.04, 53.04, 327.20°)
OKLaboklab(60.48% 0.1241 -0.0786)
OKLCHoklch(60.48% 0.147 327.7)
XYZxyz(29.3214, 20.1769, 42.3863)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5EAE #5EAF5F
analogous
#885EAF #AF5EAE #AF5E85
triadic
#AF5EAE #AEAF5E #5EAEAF
tetradic
#AF5EAE #AF885E #5EAF5F #5E85AF
square
#AF5EAE #AF885E #5EAF5F #5E85AF
split-complementary
#AF5EAE #85AF5E #5EAF88
monochromatic
#623161 #8B458A #AF5EAE #C387C3 #D8B0D7

Accessibility & contrast

On white

4.17
#AF5EAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#AF5EAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5EAE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5EAE#FFFFFF#000000##000000
##AF5EAE1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5775B1
Deuteranopia (green-blind)
#6E80AB
Tritanopia (blue-blind)
#B4667E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #af5eae;
/* rgb */ color: rgb(175, 94, 174);
/* oklch */ color: oklch(60.5% 0.147 327.7);
Tailwind
colors: {
  custom: {
    50: '#c98ec6',
    500: '#af5eae',
    950: '#000000',
  },
}
SCSS
$custom: #af5eae;
$custom-light: #c98ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#af5eae",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 174
  },
  "hsl": {
    "h": 300.741,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60481,
    "c": 0.14691,
    "h": 327.7
  },
  "luminance": 0.20175
}

Semantic roles & 50–950 ramp

primary
#AF5EAE
secondary
#A3C6A3
accent
#CA5F5E
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AF5EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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