#AF53D6#AF53D6

#AF53D6 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.1% C 0.204 H 314.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AF53D6
RGBrgb(175, 83, 214)
HSLhsl(282, 62%, 58%)
HSVhsv(282, 61%, 84%)
CMYKcmyk(18.2%, 61.2%, 0%, 16.1%)
CIE-LABlab(52.01, 57.93, -51.79)
CIE-LCHlch(52.01, 77.71, 318.20°)
OKLaboklab(61.12% 0.1426 -0.1453)
OKLCHoklch(61.12% 0.204 314.5)
XYZxyz(32.9081, 20.1565, 65.7624)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53D6 #7AD653
analogous
#6D53D6 #AF53D6 #D653BC
triadic
#AF53D6 #D6AF53 #53D6AF
tetradic
#AF53D6 #D66D53 #7AD653 #53BCD6
square
#AF53D6 #D66D53 #7AD653 #53BCD6
split-complementary
#AF53D6 #BCD653 #53D66D
monochromatic
#6D228D #932DBE #AF53D6 #C684E2 #DDB6EE

Accessibility & contrast

On white

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

On black

5.03
#AF53D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53D6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53D6#FFFFFF#000000##000000
##AF53D61.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2577DA
Deuteranopia (green-blind)
#4F7ED3
Tritanopia (blue-blind)
#AC6B8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #af53d6;
/* rgb */ color: rgb(175, 83, 214);
/* oklch */ color: oklch(61.1% 0.204 314.5);
Tailwind
colors: {
  custom: {
    50: '#ca88e3',
    500: '#af53d6',
    950: '#000000',
  },
}
SCSS
$custom: #af53d6;
$custom-light: #ca88e3;
$custom-dark: #000000;
JSON
{
  "hex": "#af53d6",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 214
  },
  "hsl": {
    "h": 282.137,
    "s": 61.502,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61122,
    "c": 0.20358,
    "h": 314.5
  },
  "luminance": 0.20156
}

Semantic roles & 50–950 ramp

primary
#AF53D6
secondary
#B8DCA8
accent
#E54373
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C15
muted
#827D84

Preview Lab

Preview with #AF53D6

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

Preview Lab → · Contrast checker → · Palette generator →

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