#AF53D7#AF53D7

#AF53D7 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.2% C 0.205 H 314.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AF53D7
RGBrgb(175, 83, 215)
HSLhsl(282, 62%, 58%)
HSVhsv(282, 61%, 84%)
CMYKcmyk(18.6%, 61.4%, 0%, 15.7%)
CIE-LABlab(52.07, 58.14, -52.27)
CIE-LCHlch(52.07, 78.18, 318.04°)
OKLaboklab(61.18% 0.1426 -0.1467)
OKLCHoklch(61.18% 0.205 314.2)
XYZxyz(33.0362, 20.2078, 66.4370)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53D7 #7BD753
analogous
#6D53D7 #AF53D7 #D753BD
triadic
#AF53D7 #D7AF53 #53D7AF
tetradic
#AF53D7 #D76D53 #7BD753 #53BDD7
square
#AF53D7 #D76D53 #7BD753 #53BDD7
split-complementary
#AF53D7 #BDD753 #53D76D
monochromatic
#6D218E #932DC0 #AF53D7 #C685E3 #DDB6EE

Accessibility & contrast

On white

4.17
#AF53D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#AF53D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53D7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53D7#FFFFFF#000000##000000
##AF53D71.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2377DB
Deuteranopia (green-blind)
#4E7FD4
Tritanopia (blue-blind)
#AC6B8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #af53d7;
/* rgb */ color: rgb(175, 83, 215);
/* oklch */ color: oklch(61.2% 0.205 314.2);
Tailwind
colors: {
  custom: {
    50: '#ca88e4',
    500: '#af53d7',
    950: '#000000',
  },
}
SCSS
$custom: #af53d7;
$custom-light: #ca88e4;
$custom-dark: #000000;
JSON
{
  "hex": "#af53d7",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 215
  },
  "hsl": {
    "h": 281.818,
    "s": 62.264,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61182,
    "c": 0.20457,
    "h": 314.2
  },
  "luminance": 0.20207
}

Semantic roles & 50–950 ramp

primary
#AF53D7
secondary
#B9DDA9
accent
#E54274
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF53D7

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

Preview Lab → · Contrast checker → · Palette generator →

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