#AF53D2#AF53D2

#AF53D2 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.9% C 0.200 H 315.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AF53D2
RGBrgb(175, 83, 210)
HSLhsl(283, 59%, 57%)
HSVhsv(283, 60%, 82%)
CMYKcmyk(16.7%, 60.5%, 0%, 17.6%)
CIE-LABlab(51.79, 57.11, -49.88)
CIE-LCHlch(51.79, 75.82, 318.87°)
OKLaboklab(60.88% 0.1426 -0.1397)
OKLCHoklch(60.88% 0.2 315.6)
XYZxyz(32.4035, 19.9547, 63.1050)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53D2 #76D253
analogous
#7053D2 #AF53D2 #D253B5
triadic
#AF53D2 #D2AF53 #53D2AF
tetradic
#AF53D2 #D27053 #76D253 #53B5D2
square
#AF53D2 #D27053 #76D253 #53B5D2
split-complementary
#AF53D2 #B5D253 #53D270
monochromatic
#6C2387 #9230B8 #AF53D2 #C684DF #DCB4EB

Accessibility & contrast

On white

4.21
#AF53D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#AF53D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53D2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53D2#FFFFFF#000000##000000
##AF53D21.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B76D6
Deuteranopia (green-blind)
#527ECF
Tritanopia (blue-blind)
#AD698B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af53d2;
/* rgb */ color: rgb(175, 83, 210);
/* oklch */ color: oklch(60.9% 0.200 315.6);
Tailwind
colors: {
  custom: {
    50: '#ca88e0',
    500: '#af53d2',
    950: '#000000',
  },
}
SCSS
$custom: #af53d2;
$custom-light: #ca88e0;
$custom-dark: #000000;
JSON
{
  "hex": "#af53d2",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 210
  },
  "hsl": {
    "h": 283.465,
    "s": 58.525,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60883,
    "c": 0.19961,
    "h": 315.6
  },
  "luminance": 0.19954
}

Semantic roles & 50–950 ramp

primary
#AF53D2
secondary
#B5DAA7
accent
#E24671
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AF53D2

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

Preview Lab → · Contrast checker → · Palette generator →

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