#AF53BB#AF53BB

#AF53BB is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.6% C 0.177 H 322.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AF53BB
RGBrgb(175, 83, 187)
HSLhsl(293, 43%, 53%)
HSVhsv(293, 56%, 73%)
CMYKcmyk(6.4%, 55.6%, 0%, 26.7%)
CIE-LABlab(50.56, 52.56, -38.60)
CIE-LCHlch(50.56, 65.21, 323.71°)
OKLaboklab(59.59% 0.1413 -0.1069)
OKLCHoklch(59.59% 0.177 322.9)
XYZxyz(29.7412, 18.8898, 49.0836)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53BB #5FBB53
analogous
#7B53BB #AF53BB #BB5393
triadic
#AF53BB #BBAF53 #53BBAF
tetradic
#AF53BB #BB7B53 #5FBB53 #5393BB
square
#AF53BB #BB7B53 #5FBB53 #5393BB
split-complementary
#AF53BB #93BB53 #53BB7B
monochromatic
#622A6A #8B3B96 #AF53BB #C37FCC #D8ABDE

Accessibility & contrast

On white

4.40
#AF53BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#AF53BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53BB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53BB#FFFFFF#000000##000000
##AF53BB1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4271BE
Deuteranopia (green-blind)
#617CB8
Tritanopia (blue-blind)
#B2617F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af53bb;
/* rgb */ color: rgb(175, 83, 187);
/* oklch */ color: oklch(59.6% 0.177 322.9);
Tailwind
colors: {
  custom: {
    50: '#c988d0',
    500: '#af53bb',
    950: '#000000',
  },
}
SCSS
$custom: #af53bb;
$custom-light: #c988d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af53bb",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 187
  },
  "hsl": {
    "h": 293.077,
    "s": 43.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59589,
    "c": 0.17721,
    "h": 322.9
  },
  "luminance": 0.18888
}

Semantic roles & 50–950 ramp

primary
#AF53BB
secondary
#A4CB9E
accent
#D35563
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AF53BB

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

Preview Lab → · Contrast checker → · Palette generator →

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