#AF53CF#AF53CF

#AF53CF is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.7% C 0.197 H 316.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AF53CF
RGBrgb(175, 83, 207)
HSLhsl(285, 56%, 57%)
HSVhsv(285, 60%, 81%)
CMYKcmyk(15.5%, 59.9%, 0%, 18.8%)
CIE-LABlab(51.62, 56.50, -48.43)
CIE-LCHlch(51.62, 74.42, 319.40°)
OKLaboklab(60.71% 0.1425 -0.1355)
OKLCHoklch(60.71% 0.197 316.4)
XYZxyz(32.0332, 19.8066, 61.1551)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53CF #73CF53
analogous
#7153CF #AF53CF #CF53B1
triadic
#AF53CF #CFAF53 #53CFAF
tetradic
#AF53CF #CF7153 #73CF53 #53B1CF
square
#AF53CF #CF7153 #73CF53 #53B1CF
split-complementary
#AF53CF #B1CF53 #53CF71
monochromatic
#6B2583 #9232B3 #AF53CF #C583DC #DCB3EA

Accessibility & contrast

On white

4.23
#AF53CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#AF53CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53CF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53CF#FFFFFF#000000##000000
##AF53CF1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F75D3
Deuteranopia (green-blind)
#547ECC
Tritanopia (blue-blind)
#AD6889
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af53cf;
/* rgb */ color: rgb(175, 83, 207);
/* oklch */ color: oklch(60.7% 0.197 316.4);
Tailwind
colors: {
  custom: {
    50: '#ca88de',
    500: '#af53cf',
    950: '#000000',
  },
}
SCSS
$custom: #af53cf;
$custom-light: #ca88de;
$custom-dark: #000000;
JSON
{
  "hex": "#af53cf",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 207
  },
  "hsl": {
    "h": 284.516,
    "s": 56.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60707,
    "c": 0.19664,
    "h": 316.4
  },
  "luminance": 0.19805
}

Semantic roles & 50–950 ramp

primary
#AF53CF
secondary
#B3D8A6
accent
#E0486F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AF53CF

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

Preview Lab → · Contrast checker → · Palette generator →

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