#AF53CA#AF53CA

#AF53CA is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.4% C 0.192 H 317.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AF53CA
RGBrgb(175, 83, 202)
HSLhsl(286, 53%, 56%)
HSVhsv(286, 59%, 79%)
CMYKcmyk(13.4%, 58.9%, 0%, 20.8%)
CIE-LABlab(51.34, 55.49, -46.01)
CIE-LCHlch(51.34, 72.08, 320.34°)
OKLaboklab(60.42% 0.1424 -0.1284)
OKLCHoklch(60.42% 0.192 317.9)
XYZxyz(31.4316, 19.5660, 57.9866)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53CA #6ECA53
analogous
#7353CA #AF53CA #CA53A9
triadic
#AF53CA #CAAF53 #53CAAF
tetradic
#AF53CA #CA7353 #6ECA53 #53A9CA
square
#AF53CA #CA7353 #6ECA53 #53A9CA
split-complementary
#AF53CA #A9CA53 #53CA73
monochromatic
#69267C #9035AB #AF53CA #C582D8 #DBB1E7

Accessibility & contrast

On white

4.27
#AF53CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#AF53CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53CA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53CA#FFFFFF#000000##000000
##AF53CA1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3574CE
Deuteranopia (green-blind)
#587DC7
Tritanopia (blue-blind)
#AF6687
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af53ca;
/* rgb */ color: rgb(175, 83, 202);
/* oklch */ color: oklch(60.4% 0.192 317.9);
Tailwind
colors: {
  custom: {
    50: '#ca88db',
    500: '#af53ca',
    950: '#000000',
  },
}
SCSS
$custom: #af53ca;
$custom-light: #ca88db;
$custom-dark: #000000;
JSON
{
  "hex": "#af53ca",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 202
  },
  "hsl": {
    "h": 286.387,
    "s": 52.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60418,
    "c": 0.19172,
    "h": 317.9
  },
  "luminance": 0.19565
}

Semantic roles & 50–950 ramp

primary
#AF53CA
secondary
#AFD5A4
accent
#DC4C6C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AF53CA

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

Preview Lab → · Contrast checker → · Palette generator →

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