#AF53AE#AF53AE

#AF53AE is a mid, vivid purple. Relative luminance 0.184; OKLCH L 58.9% C 0.165 H 327.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AF53AE
RGBrgb(175, 83, 174)
HSLhsl(301, 37%, 51%)
HSVhsv(301, 53%, 69%)
CMYKcmyk(0%, 52.6%, 0.6%, 31.4%)
CIE-LABlab(49.93, 50.15, -32.02)
CIE-LCHlch(49.93, 59.49, 327.44°)
OKLaboklab(58.92% 0.1398 -0.0879)
OKLCHoklch(58.92% 0.165 327.8)
XYZxyz(28.4120, 18.3581, 42.0831)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53AE #53AF54
analogous
#8253AF #AF53AE #AF5380
triadic
#AF53AE #AEAF53 #53AEAF
tetradic
#AF53AE #AF8253 #53AF54 #5380AF
square
#AF53AE #AF8253 #53AF54 #5380AF
split-complementary
#AF53AE #80AF53 #53AF82
monochromatic
#5D2B5C #863E86 #AF53AE #C27DC2 #D6A7D5

Accessibility & contrast

On white

4.50
#AF53AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#AF53AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53AE
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53AE#FFFFFF#000000##000000
##AF53AE1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6FB1
Deuteranopia (green-blind)
#677BAB
Tritanopia (blue-blind)
#B45D79
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af53ae;
/* rgb */ color: rgb(175, 83, 174);
/* oklch */ color: oklch(58.9% 0.165 327.8);
Tailwind
colors: {
  custom: {
    50: '#c987c6',
    500: '#af53ae',
    950: '#000000',
  },
}
SCSS
$custom: #af53ae;
$custom-light: #c987c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af53ae",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 174
  },
  "hsl": {
    "h": 300.652,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58921,
    "c": 0.16514,
    "h": 327.8
  },
  "luminance": 0.18356
}

Semantic roles & 50–950 ramp

primary
#AF53AE
secondary
#9AC39B
accent
#CD5D5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AF53AE

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

Preview Lab → · Contrast checker → · Palette generator →

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