#AF53CC#AF53CC

#AF53CC is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.5% C 0.194 H 317.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AF53CC
RGBrgb(175, 83, 204)
HSLhsl(286, 54%, 56%)
HSVhsv(286, 59%, 80%)
CMYKcmyk(14.2%, 59.3%, 0%, 20%)
CIE-LABlab(51.45, 55.89, -46.98)
CIE-LCHlch(51.45, 73.01, 319.95°)
OKLaboklab(60.53% 0.1424 -0.1313)
OKLCHoklch(60.53% 0.194 317.3)
XYZxyz(31.6700, 19.6613, 59.2418)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53CC #70CC53
analogous
#7353CC #AF53CC #CC53AD
triadic
#AF53CC #CCAF53 #53CCAF
tetradic
#AF53CC #CC7353 #70CC53 #53ADCC
square
#AF53CC #CC7353 #70CC53 #53ADCC
split-complementary
#AF53CC #ADCC53 #53CC73
monochromatic
#6A267F #9134AE #AF53CC #C582DA #DBB1E8

Accessibility & contrast

On white

4.26
#AF53CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#AF53CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53CC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53CC#FFFFFF#000000##000000
##AF53CC1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3375D0
Deuteranopia (green-blind)
#577EC9
Tritanopia (blue-blind)
#AE6788
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af53cc;
/* rgb */ color: rgb(175, 83, 204);
/* oklch */ color: oklch(60.5% 0.194 317.3);
Tailwind
colors: {
  custom: {
    50: '#ca88dc',
    500: '#af53cc',
    950: '#000000',
  },
}
SCSS
$custom: #af53cc;
$custom-light: #ca88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af53cc",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 204
  },
  "hsl": {
    "h": 285.62,
    "s": 54.26,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60533,
    "c": 0.19368,
    "h": 317.3
  },
  "luminance": 0.1966
}

Semantic roles & 50–950 ramp

primary
#AF53CC
secondary
#B0D6A4
accent
#DE4A6E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AF53CC

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

Preview Lab → · Contrast checker → · Palette generator →

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