#AF53CB#AF53CB

#AF53CB is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.5% C 0.193 H 317.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AF53CB
RGBrgb(175, 83, 203)
HSLhsl(286, 54%, 56%)
HSVhsv(286, 59%, 80%)
CMYKcmyk(13.8%, 59.1%, 0%, 20.4%)
CIE-LABlab(51.40, 55.69, -46.49)
CIE-LCHlch(51.40, 72.55, 320.15°)
OKLaboklab(60.48% 0.1424 -0.1298)
OKLCHoklch(60.48% 0.193 317.6)
XYZxyz(31.5504, 19.6135, 58.6122)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53CB #6FCB53
analogous
#7353CB #AF53CB #CB53AB
triadic
#AF53CB #CBAF53 #53CBAF
tetradic
#AF53CB #CB7353 #6FCB53 #53ABCB
square
#AF53CB #CB7353 #6FCB53 #53ABCB
split-complementary
#AF53CB #ABCB53 #53CB73
monochromatic
#69267E #9134AD #AF53CB #C582D9 #DBB1E7

Accessibility & contrast

On white

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

On black

4.92
#AF53CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53CB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53CB#FFFFFF#000000##000000
##AF53CB1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3475CF
Deuteranopia (green-blind)
#577DC8
Tritanopia (blue-blind)
#AE6787
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af53cb;
/* rgb */ color: rgb(175, 83, 203);
/* oklch */ color: oklch(60.5% 0.193 317.6);
Tailwind
colors: {
  custom: {
    50: '#ca88db',
    500: '#af53cb',
    950: '#000000',
  },
}
SCSS
$custom: #af53cb;
$custom-light: #ca88db;
$custom-dark: #000000;
JSON
{
  "hex": "#af53cb",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 203
  },
  "hsl": {
    "h": 286,
    "s": 53.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60475,
    "c": 0.19269,
    "h": 317.6
  },
  "luminance": 0.19612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF53CB

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

Preview Lab → · Contrast checker → · Palette generator →

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