#AF53AB#AF53AB

#AF53AB is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.8% C 0.162 H 329.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AF53AB
RGBrgb(175, 83, 171)
HSLhsl(303, 37%, 51%)
HSVhsv(303, 53%, 69%)
CMYKcmyk(0%, 52.6%, 2.3%, 31.4%)
CIE-LABlab(49.79, 49.61, -30.48)
CIE-LCHlch(49.79, 58.22, 328.43°)
OKLaboklab(58.77% 0.1393 -0.0835)
OKLCHoklch(58.77% 0.162 329.1)
XYZxyz(28.1228, 18.2424, 40.5600)
Luminance0.1824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53AB #53AF57
analogous
#8553AF #AF53AB #AF537D
triadic
#AF53AB #ABAF53 #53ABAF
tetradic
#AF53AB #AF8553 #53AF57 #537DAF
square
#AF53AB #AF8553 #53AF57 #537DAF
split-complementary
#AF53AB #7DAF53 #53AF85
monochromatic
#5D2B5A #863E83 #AF53AB #C27DBF #D6A7D4

Accessibility & contrast

On white

4.52
#AF53AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#AF53AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53AB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53AB#FFFFFF#000000##000000
##AF53AB1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6FAE
Deuteranopia (green-blind)
#687BA8
Tritanopia (blue-blind)
#B45C77
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af53ab;
/* rgb */ color: rgb(175, 83, 171);
/* oklch */ color: oklch(58.8% 0.162 329.1);
Tailwind
colors: {
  custom: {
    50: '#c987c4',
    500: '#af53ab',
    950: '#000000',
  },
}
SCSS
$custom: #af53ab;
$custom-light: #c987c4;
$custom-dark: #000000;
JSON
{
  "hex": "#af53ab",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 171
  },
  "hsl": {
    "h": 302.609,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58773,
    "c": 0.16244,
    "h": 329.1
  },
  "luminance": 0.18241
}

Semantic roles & 50–950 ramp

primary
#AF53AB
secondary
#9AC39C
accent
#CD605B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130C12
muted
#827D81

Preview Lab

Preview with #AF53AB

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

Preview Lab → · Contrast checker → · Palette generator →

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