#AF53CD#AF53CD

#AF53CD is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.6% C 0.195 H 317.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AF53CD
RGBrgb(175, 83, 205)
HSLhsl(285, 55%, 56%)
HSVhsv(285, 60%, 80%)
CMYKcmyk(14.6%, 59.5%, 0%, 19.6%)
CIE-LABlab(51.51, 56.10, -47.46)
CIE-LCHlch(51.51, 73.48, 319.76°)
OKLaboklab(60.59% 0.1425 -0.1327)
OKLCHoklch(60.59% 0.195 317)
XYZxyz(31.7903, 19.7094, 59.8755)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53CD #71CD53
analogous
#7253CD #AF53CD #CD53AE
triadic
#AF53CD #CDAF53 #53CDAF
tetradic
#AF53CD #CD7253 #71CD53 #53AECD
square
#AF53CD #CD7253 #71CD53 #53AECD
split-complementary
#AF53CD #AECD53 #53CD72
monochromatic
#6A2580 #9133B0 #AF53CD #C582DB #DBB2E9

Accessibility & contrast

On white

4.25
#AF53CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AF53CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53CD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53CD#FFFFFF#000000##000000
##AF53CD1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#567ECA
Tritanopia (blue-blind)
#AE6788
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af53cd;
/* rgb */ color: rgb(175, 83, 205);
/* oklch */ color: oklch(60.6% 0.195 317.0);
Tailwind
colors: {
  custom: {
    50: '#ca88dd',
    500: '#af53cd',
    950: '#000000',
  },
}
SCSS
$custom: #af53cd;
$custom-light: #ca88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af53cd",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 205
  },
  "hsl": {
    "h": 285.246,
    "s": 54.955,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6059,
    "c": 0.19466,
    "h": 317
  },
  "luminance": 0.19708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF53CD

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

Preview Lab → · Contrast checker → · Palette generator →

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