#AF53CE#AF53CE

#AF53CE is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.6% C 0.196 H 316.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AF53CE
RGBrgb(175, 83, 206)
HSLhsl(285, 56%, 57%)
HSVhsv(285, 60%, 81%)
CMYKcmyk(15%, 59.7%, 0%, 19.2%)
CIE-LABlab(51.56, 56.30, -47.95)
CIE-LCHlch(51.56, 73.95, 319.58°)
OKLaboklab(60.65% 0.1425 -0.1341)
OKLCHoklch(60.65% 0.196 316.7)
XYZxyz(31.9114, 19.7579, 60.5132)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53CE #72CE53
analogous
#7253CE #AF53CE #CE53B0
triadic
#AF53CE #CEAF53 #53CEAF
tetradic
#AF53CE #CE7253 #72CE53 #53B0CE
square
#AF53CE #CE7253 #72CE53 #53B0CE
split-complementary
#AF53CE #B0CE53 #53CE72
monochromatic
#6A2582 #9133B1 #AF53CE #C583DC #DBB2E9

Accessibility & contrast

On white

4.24
#AF53CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#AF53CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53CE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53CE#FFFFFF#000000##000000
##AF53CE1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3075D2
Deuteranopia (green-blind)
#557ECB
Tritanopia (blue-blind)
#AE6889
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af53ce;
/* rgb */ color: rgb(175, 83, 206);
/* oklch */ color: oklch(60.6% 0.196 316.7);
Tailwind
colors: {
  custom: {
    50: '#ca88dd',
    500: '#af53ce',
    950: '#000000',
  },
}
SCSS
$custom: #af53ce;
$custom-light: #ca88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af53ce",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 206
  },
  "hsl": {
    "h": 284.878,
    "s": 55.656,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60649,
    "c": 0.19565,
    "h": 316.7
  },
  "luminance": 0.19757
}

Semantic roles & 50–950 ramp

primary
#AF53CE
secondary
#B2D8A5
accent
#DF496F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AF53CE

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

Preview Lab → · Contrast checker → · Palette generator →

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